Adding a lld option to support emitting pseudo probe metadata in LTO mode.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| lld/test/ELF/lto/pseudo-probe-lto.ll | ||
|---|---|---|
| 33 | Yes. I'll reduce unnecessary debug data. | |
| lld/test/ELF/lto/pseudo-probe-lto.ll | ||
|---|---|---|
| 4 | Add the check for the alias option plugin-opt=pseudo-probe-for-profiling? | |
| lld/test/ELF/lto/pseudo-probe-lto.ll | ||
|---|---|---|
| 4 | Sounds good. | |
| lld/ELF/Options.td | ||
|---|---|---|
| 553 | nit: Encode -> Emit? the clang driver help messages says "Emit pseudo probes for sample profiler", would be good change to "profiling" there too. | |
| lld/ELF/Options.td | ||
|---|---|---|
| 553 | Good catch, changed Encode and profiling. | |
lgtm with minor comment.
| lld/ELF/Options.td | ||
|---|---|---|
| 553 | I actually meant to suggest both lld and clang driver use "Emit pseudo probes for sample profiling", the switch name uses profiling. | |
Omit initializer