[PATCH] D82322: [ASan][MSan] Remove EmptyAsm and set the CallInst to nomerge to avoid from merging.

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 12:21:57 PDT 2020


zequanwu created this revision.
zequanwu added a reviewer: vitalybuka.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
zequanwu updated this revision to Diff 272515.
zequanwu added a comment.

Update with `SanitizerCoverage`.


`nomerge` attribute was added at D78659 <https://reviews.llvm.org/D78659>. So, we can remove the EmptyAsm workaround in ASan the MSan and use this attribute.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82322

Files:
  llvm/include/llvm/IR/InstrTypes.h
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
  llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
  llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
  llvm/test/Instrumentation/SanitizerCoverage/coverage.ll
  llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
  llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-comdat.ll
  llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-nocomdat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82322.272515.patch
Type: text/x-patch
Size: 10241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200622/59014811/attachment.bin>


More information about the llvm-commits mailing list