Adding a lld option to support emitting pseudo probe metadata in LTO mode.
This is not satisfied.
; REQUIRES: x86
; CHECK: .section
; CHECK-NEXT: .quad [[#GUID]]
can some metadata be simplified?
Yes. I'll reduce unnecessary debug data.
Addressing MaskRay's feedbacks.
Add the check for the alias option plugin-opt=pseudo-probe-for-profiling?
Addressing Wei's feedback.
nit: Encode -> Emit? the clang driver help messages says "Emit pseudo probes for sample profiler", would be good change to "profiling" there too.
Good catch, changed Encode and profiling.
Addressing Wenlei's feedback.
lgtm with minor comment.
I actually meant to suggest both lld and clang driver use "Emit pseudo probes for sample profiling", the switch name uses profiling.
Changing help message for the switch.
- -> --