[PATCH] D18485: [profile] Add integration test to validate PGO function names

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 16:54:04 PDT 2016


vsk added inline comments.

================
Comment at: test/profile/instrprof-visibility.cpp:40
@@ +39,3 @@
+// PROFILE-DAG: instrprof-visibility.cpp:_ZN12_GLOBAL__N_12f7Ev
+// PROFILE-DAG: Total functions: 15
+
----------------
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).


http://reviews.llvm.org/D18485





More information about the llvm-commits mailing list