diff options
author | Rong Xu <xur@google.com> | 2016-02-08 21:18:18 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2016-02-08 21:18:18 +0000 |
commit | 05ddacc01cd9bdf3d8181f7d6dee9d97b9d1fbf6 (patch) | |
tree | d9590996f963712dbc2b2ff48da9fb82d67b383d | |
parent | ce1437abaab1eec6349c295a40a0dd38a6d8584d (diff) | |
download | bcm5719-llvm-05ddacc01cd9bdf3d8181f7d6dee9d97b9d1fbf6.tar.gz bcm5719-llvm-05ddacc01cd9bdf3d8181f7d6dee9d97b9d1fbf6.zip |
[PGO] Update InstrProfData.inc to sync with llvm
Sync InstrProfData.inc with the one in llvm.
llvm-svn: 260148
-rw-r--r-- | compiler-rt/lib/profile/InstrProfData.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfData.inc b/compiler-rt/lib/profile/InstrProfData.inc index 4f196c5f9f4..1d53c514ca9 100644 --- a/compiler-rt/lib/profile/InstrProfData.inc +++ b/compiler-rt/lib/profile/InstrProfData.inc @@ -705,9 +705,11 @@ serializeValueProfDataFromRT(const ValueProfRuntimeRecord *Record, * 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 |