commit | 89651eaf4170168cac2f34f2738e3d58fc38bbf1 | [log] [tgz] |
---|---|---|
author | Alexander Potapenko <glider@google.com> | Thu Feb 02 11:49:28 2012 +0000 |
committer | Alexander Potapenko <glider@google.com> | Thu Feb 02 11:49:28 2012 +0000 |
tree | 03875153b79e9c02c058d9eb8d10b2f913ed6997 | |
parent | 3a5aca8112e03814f78906dc5d032287adb272b5 [diff] |
Move 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149605 91177308-0d34-0410-b5e6-96231b3b80d8