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
Diff Detail
Event Timeline
test/profile/instrprof-visibility-kinds.inc | ||
---|---|---|
11 | Not as written -- I should define it in another TU and make sure it shows up. | |
test/profile/instrprof-visibility.cpp | ||
39 | 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 | ||
---|---|---|
41 | 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). |
Is this decl needed?