brintos

brintos / llvm-project-archived public Read only

0
0
Text · 619 B · ae61bf7 Raw
21 lines · plain
1RUN: dsymutil -dump-debug-map -oso-prepend-path %p %p/Inputs/absolute_sym.macho.i386 | FileCheck %s2 3RUN: dsymutil --linker parallel -dump-debug-map -oso-prepend-path %p %p/Inputs/absolute_sym.macho.i386 | FileCheck %s4 5The tested object file has been created by the dummy Objective-C code:6@interface Foo7@end8 9@implementation Foo10@end11 12int main() { return 0; }13 14compiled for i386. This create an absolute symbol .objc_class_name_Foo15We must not consider this symbol for debug info linking as its address16might conflict with other real symbols in the same file.17 18CHECK: objc_class_name_Foo19CHECK-NOT: objAddr20CHECK: }21