[PATCH] [WIP] Use dynamic alloca for stack variables in ASan.
Alexey Samsonov
vonosmas at gmail.com
Fri Dec 5 18:00:30 PST 2014
- Remove the extra argument of __asan_stack_malloc function:
instead, calculate SP inside ASan runtime.
- Compare FakeStack to null to check if we need to call __asan_stack_free.
- Update the test cases accordingly.
- Address review comment.
http://reviews.llvm.org/D6465
Files:
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/stack_dynamic_alloca.ll
test/Instrumentation/AddressSanitizer/stack_layout.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6465.17014.patch
Type: text/x-patch
Size: 14929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141206/929d2623/attachment.bin>
More information about the llvm-commits
mailing list