[PATCH] D24482: [asan] Don't poison variables as for lifitime analysis on function entry.
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 16:48:52 PDT 2016
vitalybuka created this revision.
vitalybuka added a reviewer: eugenis.
vitalybuka added a subscriber: llvm-commits.
In most cases such poisoning makes sense, however PR28267 allows to jump over
intrinsics:
void f() {
goto l1;
int i;
return;
l1:
i = 5;
}
https://reviews.llvm.org/D24482
Files:
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/lifetime-throw.ll
test/Instrumentation/AddressSanitizer/lifetime-uar-uas.ll
test/Instrumentation/AddressSanitizer/lifetime.ll
test/Instrumentation/AddressSanitizer/stack-poisoning-experimental-be.ll
test/Instrumentation/AddressSanitizer/stack-poisoning-experimental.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24482.71077.patch
Type: text/x-patch
Size: 10216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/dccfa22b/attachment.bin>
More information about the llvm-commits
mailing list