[dsymutil] Ignore absolute symbols in the debug map
[oota-llvm.git] / test / tools / dsymutil / absolute_symbol.test
1 RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path %p %p/Inputs/absolute_sym.macho.i386 | FileCheck %s
2
3 The tested object file has been created by the dummy Objective-C code:
4 @interface Foo
5 @end
6
7 @implementation Foo
8 @end
9
10 int main() { return 0; }
11
12 compiled for i386. This create an absolute symbol .objc_class_name_Foo
13 We must not consider this symbol for debug info linking as its address
14 might conflict with other real symbols in the same file.
15
16 CHECK-NOT: objc_class_name_Foo