• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: dsymutil -f -o - -oso-prepend-path=%p/.. %p/../Inputs/basic-with-libfat-test.macho.x86_64 | llvm-dwarfdump - | FileCheck %s
2
3The test binary was created by force-linking the libfat-test.a fat archive
4with the basic linking test archive, like so:
5$ clang -all_load libfat-test.a libbasic.a basic1.macho.x86_64.o -Wl,-dead_strip -u _x86_64_var
6
7CHECK: DW_AT_name{{.*}}"x86_64_var"
8CHECK: DW_AT_name{{.*}}"basic2.c"
9CHECK: DW_AT_name{{.*}}"basic3.c"
10CHECK: DW_AT_name{{.*}}"basic1.c"
11