[PATCH] D108745: [asan] Fixed a runtime crash.
Kirill Stoimenov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 26 13:31:18 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2e83a0efb906: [asan] Fixed a runtime crash. (authored by kstoimenov).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108745/new/
https://reviews.llvm.org/D108745
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
@@ -1370,12 +1370,12 @@
STI);
OutStreamer->emitInstruction(MCInstBuilder(X86::SHR64ri)
.addReg(X86::R8)
- .addReg(X86::NoRegister)
+ .addReg(X86::R8)
.addImm(MappingScale),
STI);
if (OrShadowOffset) {
OutStreamer->emitInstruction(MCInstBuilder(X86::OR64ri32)
- .addReg(X86::NoRegister)
+ .addReg(X86::R8)
.addReg(X86::R8)
.addImm(ShadowBase),
STI);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108745.368971.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210826/bebb57c9/attachment.bin>
More information about the llvm-commits
mailing list