[PATCH] D86001: [MSAN] Avoid dangling ActualFnStart when replacing instruction

Gui Andrade via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 16:35:54 PDT 2020


guiand updated this revision to Diff 285787.
guiand added a comment.
Herald added a reviewer: jdoerfert.

Emit a nop instruction to always mark the end of the MSan prologue, and insert prologue instructions before that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86001/new/

https://reviews.llvm.org/D86001

Files:
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
  llvm/test/Instrumentation/MemorySanitizer/array_types.ll
  llvm/test/Instrumentation/MemorySanitizer/attributes.ll
  llvm/test/Instrumentation/MemorySanitizer/clmul.ll
  llvm/test/Instrumentation/MemorySanitizer/masked-store-load.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_kernel_basic.ll
  llvm/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll
  llvm/test/Instrumentation/MemorySanitizer/unsized_type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86001.285787.patch
Type: text/x-patch
Size: 20145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200814/cc37efff/attachment.bin>


More information about the llvm-commits mailing list