2015-12-12 01:50:37 +08:00
|
|
|
RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path %p %p/Inputs/absolute_sym.macho.i386 | FileCheck %s
|
|
|
|
|
|
|
|
The tested object file has been created by the dummy Objective-C code:
|
|
|
|
@interface Foo
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation Foo
|
|
|
|
@end
|
|
|
|
|
|
|
|
int main() { return 0; }
|
|
|
|
|
|
|
|
compiled for i386. This create an absolute symbol .objc_class_name_Foo
|
|
|
|
We must not consider this symbol for debug info linking as its address
|
|
|
|
might conflict with other real symbols in the same file.
|
|
|
|
|
2016-01-31 12:29:34 +08:00
|
|
|
CHECK: objc_class_name_Foo
|
|
|
|
CHECK-SAME-NOT: objAddr
|