[PATCH] D41222: Handle previously ASAN-instrumented IR gracefully when ASAN re-invoked

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 19:48:45 PST 2017


tejohnson created this revision.
tejohnson added reviewers: vsk, vitalybuka.

Fixes the case when invoking -fsanitize=address twice due to serializing
through bitcode or LLVM assembly and then compiling that down to native
code. Without this there are assertion failures from the instrumentation
passes.

Fixes PR32700.


https://reviews.llvm.org/D41222

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  test/Instrumentation/AddressSanitizer/skip-previously-instrumented.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41222.126891.patch
Type: text/x-patch
Size: 7441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/d461876c/attachment.bin>


More information about the llvm-commits mailing list