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

Alexander Potapenko glider at google.com
Tue Jan 31 02:15:48 PST 2012


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 --------------
A non-text attachment was scrubbed...
Name: asan_address_safety.patch
Type: text/x-patch
Size: 1435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120131/a36f234a/attachment.bin>


More information about the cfe-commits mailing list