[compiler-rt] r260148 - [PGO] Update InstrProfData.inc to sync with llvm

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 13:18:18 PST 2016


Author: xur
Date: Mon Feb  8 15:18:18 2016
New Revision: 260148

URL: http://llvm.org/viewvc/llvm-project?rev=260148&view=rev
Log:
[PGO] Update InstrProfData.inc to sync with llvm

Sync InstrProfData.inc with the one in llvm.

Modified:
    compiler-rt/trunk/lib/profile/InstrProfData.inc

Modified: compiler-rt/trunk/lib/profile/InstrProfData.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfData.inc?rev=260148&r1=260147&r2=260148&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfData.inc (original)
+++ compiler-rt/trunk/lib/profile/InstrProfData.inc Mon Feb  8 15:18:18 2016
@@ -705,9 +705,11 @@ serializeValueProfDataFromRT(const Value
  * version for other variants of profile. We set the lowest bit of the upper 8
  * bits (i.e. bit 56) to 1 to indicate if this is an IR-level instrumentaiton
  * generated profile, and 0 if this is a Clang FE generated profile.
-*/
+ */
 #define VARIANT_MASKS_ALL 0xff00000000000000ULL
 #define GET_VERSION(V) ((V) & ~VARIANT_MASKS_ALL)
+#define VARIANT_MASK_IR_PROF (0x1ULL << 56)
+#define IR_LEVEL_PROF_VERSION_VAR __llvm_profile_raw_version
 
 /* Runtime section names and name strings.  */
 #define INSTR_PROF_DATA_SECT_NAME __llvm_prf_data




More information about the llvm-commits mailing list