summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfData.inc
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-11-24 00:37:45 +0000
committerXinliang David Li <davidxl@google.com>2015-11-24 00:37:45 +0000
commit72b9112f1051a190f57f73b17e243e009bd35dda (patch)
tree4f81147676de678fb39ec6e79b6dbef9c645f018 /lib/profile/InstrProfData.inc
parent9767821def6eccc1cf13ee7eb5dd2bba17c47251 (diff)
sync up InstrProfData.inc with master
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfData.inc')
-rw-r--r--lib/profile/InstrProfData.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/profile/InstrProfData.inc b/lib/profile/InstrProfData.inc
index d92c1d331..5bb1978e3 100644
--- a/lib/profile/InstrProfData.inc
+++ b/lib/profile/InstrProfData.inc
@@ -184,13 +184,11 @@ COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
#define INSTR_PROF_CONCAT(x,y) INSTR_PROF_SIMPLE_CONCAT(x,y)
/* Magic number to detect file format and endianness.
- * Use 255 at one end, since no UTF-8 file can use that character. Avoid 0,
- * so that utilities, like strings, don't grab it as a string. 129 is also
+ * Use 255 at one end, since no UTF-8 file can use that character. Avoid 0,
+ * so that utilities, like strings, don't grab it as a string. 129 is also
* invalid UTF-8, and high enough to be interesting.
- * Use "lprofr" in the centre to stand for "LLVM Profile Raw", or "lprofR"
+ * Use "lprofr" in the centre to stand for "LLVM Profile Raw", or "lprofR"
* for 32-bit platforms.
- * The magic and version need to be kept in sync with
- * projects/compiler-rt/lib/profile/InstrProfiling.c
*/
#define INSTR_PROF_RAW_MAGIC_64 (uint64_t)255 << 56 | (uint64_t)'l' << 48 | \
(uint64_t)'p' << 40 | (uint64_t)'r' << 32 | (uint64_t)'o' << 24 | \