[compiler-rt] r335055 - [XRay] Fix error message. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 08:39:19 PDT 2018


Author: maskray
Date: Tue Jun 19 08:39:19 2018
New Revision: 335055

URL: http://llvm.org/viewvc/llvm-project?rev=335055&view=rev
Log:
[XRay] Fix error message. NFC

Reviewers: dberris

Subscribers: delcypher, llvm-commits, #sanitizers

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

Modified:
    compiler-rt/trunk/lib/xray/xray_x86_64.cc

Modified: compiler-rt/trunk/lib/xray/xray_x86_64.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_x86_64.cc?rev=335055&r1=335054&r2=335055&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_x86_64.cc (original)
+++ compiler-rt/trunk/lib/xray/xray_x86_64.cc Tue Jun 19 08:39:19 2018
@@ -219,8 +219,8 @@ bool patchFunctionTailExit(const bool En
       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) {




More information about the llvm-commits mailing list