[llvm-commits] [PATCH] AddressSanitizer: disallow inlining the __asan_report_* functions

Alexander Potapenko glider at google.com
Mon Dec 26 08:16:00 PST 2011


Hi all,

The attached patch marks the __asan_report_{load,store}{1,2,4,8,16}
functions as noinline, thus making sure they'll be present in the
resulting binary (this is necessary e.g. for Chrome)
Without that it turned out that the calls to those functions from
__asan_force_interface_symbols were inlined.

-- 
Alexander Potapenko
Software Engineer
Google Moscow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asan-noinline.patch
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111226/88662ff0/attachment.bin>


More information about the llvm-commits mailing list