summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/tail-dup-addr.ll
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-22 22:17:44 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-22 22:17:44 +0000
commit64ec101eb6a5d21bcb7bedc334b793c45cd15466 (patch)
tree7b2ef164b237dbe3a29312a1f23258f9e426cdfc /llvm/test/CodeGen/X86/tail-dup-addr.ll
parent46d1ce23a787d51cd231e45ff0630f9b82685d72 (diff)
downloadbcm5719-llvm-64ec101eb6a5d21bcb7bedc334b793c45cd15466.tar.gz
bcm5719-llvm-64ec101eb6a5d21bcb7bedc334b793c45cd15466.zip
Teach libc++ about the addressof() overloads it needs to work with
Objective-C Automatic Reference Counting, where Objective-C object pointers can have several different qualifiers (__strong, __weak, __autoreleasing, __unsafe_unretained). These addressof() overloads are only provided in ARC mode, and the __weak variant is conditionalized on having weak-reference support in the ARC runtime. For historical reasons, Clang provides these definitions itself, and defines the macro _LIBCPP_PREDEFINED_OBJC_ARC_ADDRESSOF to note when it as done so. The code belongs here, and this redundancy will be eliminated in the future. Addresses <rdar://problem/9658274>. llvm-svn: 133656
Diffstat (limited to 'llvm/test/CodeGen/X86/tail-dup-addr.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud