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).
28 lines
988 B
Plaintext
28 lines
988 B
Plaintext
$ cat eh_frame.cpp
|
|
int f1()
|
|
{
|
|
volatile int i;
|
|
return i;
|
|
}
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
return f1();
|
|
}
|
|
|
|
$ clang eh_frame.cpp -g -c -o eh_frame.o
|
|
$ ld -no_compact_unwind eh_frame.o -o eh_frame.out
|
|
|
|
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/eh_frame/eh_frame.out -o %t.dSYM
|
|
RUN: llvm-dwarfdump --verify %t.dSYM
|
|
RUN: llvm-otool -s __TEXT __eh_frame %p/../Inputs/private/tmp/eh_frame/eh_frame.out | FileCheck %s
|
|
RUN: llvm-otool -s __TEXT __eh_frame %t.dSYM/Contents/Resources/DWARF/eh_frame.out | FileCheck %s
|
|
|
|
RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/eh_frame/eh_frame.out -o %t.dSYM
|
|
RUN: llvm-dwarfdump --verify %t.dSYM
|
|
RUN: llvm-otool -s __TEXT __eh_frame %p/../Inputs/private/tmp/eh_frame/eh_frame.out | FileCheck %s
|
|
RUN: llvm-otool -s __TEXT __eh_frame %t.dSYM/Contents/Resources/DWARF/eh_frame.out | FileCheck %s
|
|
|
|
CHECK: 14 00 00 00 00 00 00 00 01 7a 52 00 01 78 10 01
|
|
CHECK: 10 0c 07 08 90 01 00 00
|