Check that PGO function names are emitted correctly by clang, preserved during the profile merge step, and decoded properly by the coverage mapping reader.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/profile/instrprof-visibility-kinds.inc | ||
---|---|---|
11 ↗ | (On Diff #51696) | Not as written -- I should define it in another TU and make sure it shows up. |
test/profile/instrprof-visibility.cpp | ||
39 ↗ | (On Diff #51696) | Good point. The name for f2 is not printed since there is only one expansion region. I'll update the test to check that f2() is at least covered properly. |
test/profile/instrprof-visibility.cpp | ||
---|---|---|
40 ↗ | (On Diff #51701) | Also, no _ZN12_GLOBAL__N_12f2Ev because it's an error to define a weak function with internal linkage (i.e, in an anonymous namespace). |