diff options
author | Fangrui Song <maskray@google.com> | 2018-06-19 15:39:19 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-06-19 15:39:19 +0000 |
commit | d02ee7544cc2257a10f9250860d4c4d2207e5e31 (patch) | |
tree | 15282540ea1c855d43d3097b57123b3638acaded /lib | |
parent | 12e113759068354f5fff9adb41a1e228a5daad0e (diff) |
[XRay] Fix error message. NFC
Reviewers: dberris
Subscribers: delcypher, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D48313
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xray/xray_x86_64.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xray/xray_x86_64.cc b/lib/xray/xray_x86_64.cc index 246d14483..51dc4ce43 100644 --- a/lib/xray/xray_x86_64.cc +++ b/lib/xray/xray_x86_64.cc @@ -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) { |