mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-29 08:19:01 -04:00

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
12 lines
337 B
Objective-C
12 lines
337 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
|
|
// rdar: // 7445205
|
|
|
|
@interface Foo
|
|
- (id)test:(id)one, id two;
|
|
@end
|
|
|
|
@implementation Foo
|
|
- (id)test:(id )one, id two {return two; } @end
|
|
|
|
// CHECK-LP64: private global [11 x i8] c"@24@0:8@16
|