[PATCH] D109453: [asan] Fixed the jump to use the 4 byte offset version.
Kirill Stoimenov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 8 10:59:10 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3f875134a7ce: [asan] Fixed the jump to use the 4 byte offset version. (authored by kstoimenov).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109453/new/
https://reviews.llvm.org/D109453
Files:
llvm/lib/Target/X86/X86MCInstLower.cpp
Index: llvm/lib/Target/X86/X86MCInstLower.cpp
===================================================================
--- llvm/lib/Target/X86/X86MCInstLower.cpp
+++ llvm/lib/Target/X86/X86MCInstLower.cpp
@@ -1525,7 +1525,7 @@
.addReg(X86::NoRegister + Reg),
STI);
OutStreamer->emitInstruction(
- MCInstBuilder(X86::JMP_1)
+ MCInstBuilder(X86::JMP_4)
.addExpr(MCSymbolRefExpr::create(ReportError, MCSymbolRefExpr::VK_PLT,
OutContext)),
STI);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109453.371395.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210908/4e85e3ea/attachment.bin>
More information about the llvm-commits
mailing list