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

Kostya Serebryany kcc at google.com
Tue Dec 27 17:03:41 PST 2011


r147302.

On Mon, Dec 26, 2011 at 8:16 AM, Alexander Potapenko <glider at google.com>wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111227/94d59589/attachment.html>


More information about the llvm-commits mailing list