[cfe-commits] [PATCH] AddressSanitizer: set the AddressSafety attribute in CodeGenModule::SetLLVMFunctionAttributesForDefinition

Kostya Serebryany kcc at google.com
Tue Jan 31 10:21:28 PST 2012


Could you please also extend the test (cfe/trunk/test/CodeGen/
address-safety-attr.cpp)?
Ok for me, but I'd prefer to have 'ok' from someone else on the clang side.

--kcc

On Tue, Jan 31, 2012 at 2:15 AM, Alexander Potapenko <glider at google.com>wrote:

> The attached patch moves the code that sets the AddressSafety
> attribute into CodeGenModule::SetLLVMFunctionAttributesForDefinition
> Previously it resided in CodeGenModule::GetOrCreateLLVMFunction, which
> for some reason wasn't called for ObjC class methods, see
> http://code.google.com/p/address-sanitizer/issues/detail?id=33
>
> --
> Alexander Potapenko
> Software Engineer
> Google Moscow
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120131/293737e5/attachment.html>


More information about the cfe-commits mailing list