This patch renames values of dsymutil/llvm-dwarfutil options: --linker apple -> --linker classic --linker llvm -> --linker parallel The purpose to rename options is to avoid using vendor names and to match with library names. It should be safe to rename options at current stage as they are not seemed widely used(we may not preserve backward compatibility).
15 lines
652 B
Plaintext
15 lines
652 B
Plaintext
RUN: dsymutil -f -o - -oso-prepend-path=%p/.. %p/../Inputs/basic-with-libfat-test.macho.x86_64 | llvm-dwarfdump - | FileCheck %s
|
|
|
|
RUN: dsymutil --linker parallel -f -o - -oso-prepend-path=%p/.. \
|
|
RUN: %p/../Inputs/basic-with-libfat-test.macho.x86_64 | llvm-dwarfdump - \
|
|
RUN: | FileCheck %s
|
|
|
|
The test binary was created by force-linking the libfat-test.a fat archive
|
|
with the basic linking test archive, like so:
|
|
$ clang -all_load libfat-test.a libbasic.a basic1.macho.x86_64.o -Wl,-dead_strip -u _x86_64_var
|
|
|
|
CHECK: DW_AT_name{{.*}}"x86_64_var"
|
|
CHECK: DW_AT_name{{.*}}"basic2.c"
|
|
CHECK: DW_AT_name{{.*}}"basic3.c"
|
|
CHECK: DW_AT_name{{.*}}"basic1.c"
|