Use the llvm-profdata show command to verify debug info for profile correlation using the --debug-info option.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c | ||
---|---|---|
2 ↗ | (On Diff #403073) | It appears there are many similar names, which is confusing to remember. |
compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c | ||
---|---|---|
2 ↗ | (On Diff #403073) | I agree and in particular I'd prefer the last suggestion, that is making <profile file> optional when -debug-info=<debug file> is specified. I think that changing the meaning of the positional argument (that is either a profile or a binary) depending on other arguments is more confusing. |
llvm/tools/llvm-profdata/llvm-profdata.cpp | ||
2567 | Nit: spelling. |
compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c | ||
---|---|---|
2 ↗ | (On Diff #403073) | I'm happy with using -debug-info=<debug file>. Originally I wanted to avoid removing the cl::Required in the Filename option, but this really isn't a big deal. |
Thanks for making the flag more consistent! Could you quickly update the summary in this patch to reflect the current code?
LGTM
Nit: spelling.