[PATCH] D110009: [asan] Changed ASan intrinsic to be X86 specific.

Kirill Stoimenov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 17 15:39:05 PDT 2021


kstoimenov created this revision.
kstoimenov added a reviewer: eugenis.
Herald added subscribers: pengfei, hiraditya.
kstoimenov requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

Main reason for this change is to add this to the list of instructions which set hasCopyImplyingStackAdjustment to fix the redzone crash. The actual fix will come in the next patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110009

Files:
  llvm/include/llvm/IR/Intrinsics.td
  llvm/include/llvm/IR/IntrinsicsX86.td
  llvm/lib/Target/X86/X86InstrCompiler.td
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/test/CodeGen/X86/asan-check-memaccess-add.ll
  llvm/test/CodeGen/X86/asan-check-memaccess-or.ll
  llvm/test/Instrumentation/AddressSanitizer/asan-optimize-callbacks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110009.373354.patch
Type: text/x-patch
Size: 15057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210917/4ed8e46d/attachment.bin>


More information about the llvm-commits mailing list