[PATCH] [WIP] Use dynamic alloca for stack variables in ASan.

Alexey Samsonov vonosmas at gmail.com
Wed Dec 3 16:05:38 PST 2014


* Add a commandline flag to switch between new and old behavior
* Don't use dynamic alloca if a function has inline assembly
* Remove unnecessary argument in __asan_stack_free() function.

This is stil pretty much a WIP, I need to update the tests and check
performance. However, in this form the change seems to be pretty
stable on the codebases I've tested.

http://reviews.llvm.org/D6465

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6465.16895.patch
Type: text/x-patch
Size: 2121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141204/2c17daf5/attachment.bin>


More information about the llvm-commits mailing list