[PATCH] D23947: Use store operation to poison allocas for lifetime analysis.

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 16:26:15 PDT 2016


vitalybuka created this revision.
vitalybuka added a reviewer: eugenis.
vitalybuka added a subscriber: llvm-commits.

Calling __asan_poison_stack_memory and __asan_unpoison_stack_memory for small
variables is too expensive.

Code is disabled by default and can be enabled by -asan-experimental-poisoning.

PR27453

https://reviews.llvm.org/D23947

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  test/Instrumentation/AddressSanitizer/stack-poisoning-experimental-be.ll
  test/Instrumentation/AddressSanitizer/stack-poisoning-experimental.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23947.69448.patch
Type: text/x-patch
Size: 40034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160826/cbee3a99/attachment.bin>


More information about the llvm-commits mailing list