In llvm the only semantic difference between internal and private is that llvm tries to hide private globals my mangling them with a private prefix. Since the globals changed by this patch already had the magic don't mangle marker, there should be no change in the generated assembly. A followup patch should then be able to drop the \01L and \01l prefixes and let llvm mangle as appropriate. llvm-svn: 202419
9 lines
266 B
Objective-C
9 lines
266 B
Objective-C
// RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck %s
|
|
// RUN: %clang_cc1 -o - -emit-llvm %s | FileCheck %s
|
|
|
|
// CHECK: @"\01L_OBJC_SELECTOR_REFERENCES_" = private externally_initialized global
|
|
|
|
void test(id x) {
|
|
[x doSomething];
|
|
}
|