[PATCH] D15541: [PGO] generate different version for FE instrumentation and IR level instrumentation profiles

David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 15:57:10 PST 2015


davidxl added inline comments.

================
Comment at: lib/profile/InstrProfiling.c:22
@@ +21,3 @@
+/* IR level instrumentation declares a strong symbol and sets the value to 1. */
+__attribute__((weak)) int __llvm_profile_ir_level = 0;
+
----------------
use macro LLVM_ATTRIBUTE_WEAK


http://reviews.llvm.org/D15541





More information about the llvm-commits mailing list