[XRay] Fix error message. NFC
authorFangrui Song <maskray@google.com>
Tue, 19 Jun 2018 15:39:19 +0000 (15:39 +0000)
committerFangrui Song <maskray@google.com>
Tue, 19 Jun 2018 15:39:19 +0000 (15:39 +0000)
Reviewers: dberris

Subscribers: delcypher, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D48313

llvm-svn: 335055

compiler-rt/lib/xray/xray_x86_64.cc

index 246d144..51dc4ce 100644 (file)
@@ -219,8 +219,8 @@ bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
       reinterpret_cast<int64_t>(__xray_FunctionTailExit) -
       (static_cast<int64_t>(Sled.Address) + 11);
   if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) {
-    Report("XRay Exit trampoline (%p) too far from sled (%p)\n",
-           __xray_FunctionExit, reinterpret_cast<void *>(Sled.Address));
+    Report("XRay Tail Exit trampoline (%p) too far from sled (%p)\n",
+           __xray_FunctionTailExit, reinterpret_cast<void *>(Sled.Address));
     return false;
   }
   if (Enable) {