xref: /aosp_15_r20/external/llvm/test/tools/dsymutil/X86/basic-with-libfat-test.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: llvm-dsymutil -f -o - -oso-prepend-path=%p/.. %p/../Inputs/basic-with-libfat-test.macho.x86_64 | llvm-dwarfdump - | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard WorkerThe test binary was created by force-linking the libfat-test.a fat archive
4*9880d681SAndroid Build Coastguard Workerwith the basic linking test archive, like so:
5*9880d681SAndroid Build Coastguard Worker$ clang -all_load libfat-test.a libbasic.a basic1.macho.x86_64.o -Wl,-dead_strip -u _x86_64_var
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard WorkerCHECK: DW_AT_name{{.*}}"x86_64_var"
8*9880d681SAndroid Build Coastguard WorkerCHECK: DW_AT_name{{.*}}"basic2.c"
9*9880d681SAndroid Build Coastguard WorkerCHECK: DW_AT_name{{.*}}"basic3.c"
10*9880d681SAndroid Build Coastguard WorkerCHECK: DW_AT_name{{.*}}"basic1.c"
11