Skip to content

Commit f1fdfe6

Browse files
authored
[dsymutil][llvm-dwarfutil] Rename command line options to avoid using vendor names. (#78135)
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).
1 parent e75720b commit f1fdfe6

File tree

122 files changed

+222
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+222
-222
lines changed

llvm/test/tools/dsymutil/ARM/DWARFLinkerParallel/accel-imported-declarations.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
RUN: dsymutil --linker llvm -accelerator=Dwarf \
1+
RUN: dsymutil --linker parallel -accelerator=Dwarf \
22
RUN: -oso-prepend-path=%p/../../Inputs \
33
RUN: %p/../../Inputs/accel-imported-declaration.macho-arm64 -o %t.dwarf.dSYM
4-
RUN: dsymutil --linker llvm -accelerator=Apple \
4+
RUN: dsymutil --linker parallel -accelerator=Apple \
55
RUN: -oso-prepend-path=%p/../../Inputs \
66
RUN: %p/../../Inputs/accel-imported-declaration.macho-arm64 -o %t.apple.dSYM
77

llvm/test/tools/dsymutil/ARM/call-pc-reloc.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $ clang -arch arm64 main.arm64.o -o main.arm64 -g
1717
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/call_pc/main.arm64 -o %t.dSYM
1818
RUN: llvm-dwarfdump %t.dSYM | FileCheck %s -implicit-check-not=DW_AT_call_pc
1919

20-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/call_pc/main.arm64 -o %t.dSYM
20+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/call_pc/main.arm64 -o %t.dSYM
2121
RUN: llvm-dwarfdump %t.dSYM | FileCheck %s -implicit-check-not=DW_AT_call_pc
2222

2323
CHECK: DW_AT_call_pc (0x0000000100007f94)

llvm/test/tools/dsymutil/ARM/dwarf5-addr-base.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ RUN: dsymutil -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../Inputs/DWA
5050
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s
5151

5252
RUN: rm -rf %t.dir && mkdir -p %t.dir
53-
RUN: dsymutil --linker llvm --no-odr -y %p/dummy-debug-map-amr64.map \
53+
RUN: dsymutil --linker parallel --no-odr -y %p/dummy-debug-map-amr64.map \
5454
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
5555
RUN: -o %t.dir/dwarf5-addr-base.dSYM
5656
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s
5757

5858
RUN: rm -rf %t.dir && mkdir -p %t.dir
59-
RUN: dsymutil --linker llvm -y %p/dummy-debug-map-amr64.map \
59+
RUN: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
6060
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
6161
RUN: -o %t.dir/dwarf5-addr-base.dSYM
6262
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
@@ -68,14 +68,14 @@ RUN: dsymutil --update -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../I
6868
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s --check-prefix=UPD
6969

7070
RUN: rm -rf %t.dir && mkdir -p %t.dir
71-
RUN: dsymutil --linker llvm --no-odr --update -y %p/dummy-debug-map-amr64.map \
71+
RUN: dsymutil --linker parallel --no-odr --update -y %p/dummy-debug-map-amr64.map \
7272
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
7373
RUN: -o %t.dir/dwarf5-addr-base.dSYM
7474
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
7575
RUN: FileCheck %s --check-prefix=UPD
7676

7777
RUN: rm -rf %t.dir && mkdir -p %t.dir
78-
RUN: dsymutil --linker llvm --update -y %p/dummy-debug-map-amr64.map \
78+
RUN: dsymutil --linker parallel --update -y %p/dummy-debug-map-amr64.map \
7979
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
8080
RUN: -o %t.dir/dwarf5-addr-base.dSYM
8181
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \

llvm/test/tools/dsymutil/ARM/dwarf5-addrx-0x0-last.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN: llvm-dwarfdump --verify %t.dSYM 2>&1 | FileCheck %s
2828
RUN: llvm-dwarfdump --verbose -debug-info %t.dSYM | FileCheck %s --check-prefix DEBUGINFO
2929
RUN: llvm-dwarfdump --verbose -debug-line %t.dSYM | FileCheck %s --check-prefix DEBUGLINE
3030

31-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../Inputs \
31+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs \
3232
RUN: %p/../Inputs/private/tmp/dwarf5/dwarf5-addrx-0x0-last.out \
3333
RUN: -o %t.dSYM 2>&1 | FileCheck %s --allow-empty
3434
RUN: llvm-dwarfdump --verify %t.dSYM 2>&1 | FileCheck %s

llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN: dsymutil -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../Inputs/DWA
3434
RUN: llvm-dwarfdump %t.dir/dwarf5-dwarf4-combination-macho.dSYM -a --verbose | FileCheck %s
3535

3636
RUN: rm -rf %t.dir && mkdir -p %t.dir
37-
RUN: dsymutil --no-odr --linker llvm -y %p/dummy-debug-map-amr64.map \
37+
RUN: dsymutil --no-odr --linker parallel -y %p/dummy-debug-map-amr64.map \
3838
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-DWARF4-combination \
3939
RUN: -o %t.dir/dwarf5-dwarf4-combination-macho.dSYM
4040
RUN: llvm-dwarfdump %t.dir/dwarf5-dwarf4-combination-macho.dSYM \
@@ -43,7 +43,7 @@ RUN: -a --verbose | FileCheck %s
4343
### Uncomment following when llvm-dwarfdump will dump address ranges
4444
### correctly for severall compile units case.
4545
COM: rm -rf %t.dir && mkdir -p %t.dir
46-
COM: dsymutil --linker llvm -y %p/dummy-debug-map-amr64.map \
46+
COM: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
4747
COM: -oso-prepend-path=%p/../Inputs/DWARF5-DWARF4-combination \
4848
COM: -o %t.dir/dwarf5-dwarf4-combination-macho.dSYM
4949
COM: llvm-dwarfdump %t.dir/dwarf5-dwarf4-combination-macho.dSYM \

llvm/test/tools/dsymutil/ARM/dwarf5-macho.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ RUN: dsymutil -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../Inputs/DWA
2222
RUN: llvm-dwarfdump %t.dir/dwarf5-macho.dSYM -a --verbose | FileCheck %s
2323

2424
RUN: rm -rf %t.dir && mkdir -p %t.dir
25-
RUN: dsymutil --linker llvm --no-odr -y %p/dummy-debug-map-amr64.map \
25+
RUN: dsymutil --linker parallel --no-odr -y %p/dummy-debug-map-amr64.map \
2626
RUN: -oso-prepend-path=%p/../Inputs/DWARF5 -o %t.dir/dwarf5-macho.dSYM
2727
RUN: llvm-dwarfdump %t.dir/dwarf5-macho.dSYM -a --verbose | FileCheck %s
2828

2929
### Uncomment following when llvm-dwarfdump will print resolved address ranges
3030
### for the case mutiplue compile units.
3131
COM: rm -rf %t.dir && mkdir -p %t.dir
32-
COM: dsymutil --linker llvm -y %p/dummy-debug-map-amr64.map \
32+
COM: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
3333
COM: -oso-prepend-path=%p/../Inputs/DWARF5 -o %t.dir/dwarf5-macho.dSYM
3434
COM: llvm-dwarfdump %t.dir/dwarf5-macho.dSYM -a --verbose | FileCheck %s \
3535
COM: --check-prefixes=CHECK,CHECK-LLVM

llvm/test/tools/dsymutil/ARM/dwarf5-str-offsets-base-strx.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,26 @@ RUN: dsymutil --update -y %p/dummy-debug-map-amr64.map -oso-prepend-path=%p/../I
5757
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | FileCheck %s --check-prefixes=UPD,GLOBALUPD
5858

5959
RUN: rm -rf %t.dir && mkdir -p %t.dir
60-
RUN: dsymutil --linker llvm --no-odr -y %p/dummy-debug-map-amr64.map \
60+
RUN: dsymutil --linker parallel --no-odr -y %p/dummy-debug-map-amr64.map \
6161
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
6262
RUN: -o %t.dir/dwarf5-addr-base.dSYM
6363
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
6464
RUN: FileCheck %s --check-prefixes=CHECK,LOCAL
6565

6666
RUN: rm -rf %t.dir && mkdir -p %t.dir
67-
RUN: dsymutil --linker llvm -y %p/dummy-debug-map-amr64.map \
67+
RUN: dsymutil --linker parallel -y %p/dummy-debug-map-amr64.map \
6868
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
6969
RUN: -o %t.dir/dwarf5-addr-base.dSYM
7070
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
7171
RUN: FileCheck %s --check-prefixes=CHECK,LOCAL,CHECK-LLVM
7272

73-
RUN: dsymutil --linker llvm --no-odr --update -y %p/dummy-debug-map-amr64.map \
73+
RUN: dsymutil --linker parallel --no-odr --update -y %p/dummy-debug-map-amr64.map \
7474
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
7575
RUN: -o %t.dir/dwarf5-addr-base.dSYM
7676
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \
7777
RUN: FileCheck %s --check-prefixes=UPD,LOCALUPD
7878

79-
RUN: dsymutil --linker llvm --update -y %p/dummy-debug-map-amr64.map \
79+
RUN: dsymutil --linker parallel --update -y %p/dummy-debug-map-amr64.map \
8080
RUN: -oso-prepend-path=%p/../Inputs/DWARF5-addr-base-str-off-base \
8181
RUN: -o %t.dir/dwarf5-addr-base.dSYM
8282
RUN: llvm-dwarfdump %t.dir/dwarf5-addr-base.dSYM -a --verbose | \

llvm/test/tools/dsymutil/ARM/empty-map.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
22

3-
# RUN: dsymutil --linker llvm -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
3+
# RUN: dsymutil --linker parallel -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
44

55
---
66
triple: 'thumbv7-apple-darwin'

llvm/test/tools/dsymutil/ARM/extern-alias.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ $ xcrun --sdk iphoneos clang private_extern.o main.o -target arm64-apple-ios14.0
3838
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose | FileCheck %s
3939
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose | FileCheck %s
4040

41-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose | FileCheck %s
42-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose | FileCheck %s
41+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose | FileCheck %s
42+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose | FileCheck %s
4343

4444
CHECK-NOT: could not find symbol '_baz'
4545
CHECK: { sym: _baz, objAddr: 0x0, binAddr: 0x100007F58, size: 0x0 }

llvm/test/tools/dsymutil/ARM/fat-arch-name.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s
22

3-
# RUN: dsymutil --linker llvm -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s
3+
# RUN: dsymutil --linker parallel -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s
44

55
# We detect thumb triples from the binaries, because those are the only ones
66
# that are guaranteed to be able to generate a Target instance (for example

llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
22
#
3-
# RUN: dsymutil --linker llvm -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
3+
# RUN: dsymutil --linker parallel -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
44

55
---
66
triple: 'armv7-apple-darwin'

llvm/test/tools/dsymutil/ARM/fat-dylib-update.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# RUN: dsymutil -u %t.dSYM -o %t1.dSYM
77
# RUN: llvm-dwarfdump -a -v %t1.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s
88
#
9-
# RUN: dsymutil --linker llvm -oso-prepend-path %p/.. %p/../Inputs/fat-test.arm.dylib -o %t.dSYM
9+
# RUN: dsymutil --linker parallel -oso-prepend-path %p/.. %p/../Inputs/fat-test.arm.dylib -o %t.dSYM
1010
# RUN: llvm-dwarfdump -a -v %t.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s
11-
# RUN: dsymutil --linker llvm -u %t.dSYM
11+
# RUN: dsymutil --linker parallel -u %t.dSYM
1212
# RUN: llvm-dwarfdump -a -v %t.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s
13-
# RUN: dsymutil --linker llvm -u %t.dSYM -o %t1.dSYM
13+
# RUN: dsymutil --linker parallel -u %t.dSYM -o %t1.dSYM
1414
# RUN: llvm-dwarfdump -a -v %t1.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s
1515

1616
CHECK: /Contents/Resources/DWARF/fat-test.arm.dylib(armv7): file format Mach-O arm

llvm/test/tools/dsymutil/ARM/inline-source.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RUN: mkdir -p %t
33
# RUN: llc -filetype=obj -mtriple arm64-apple-darwin %p/../Inputs/inline.ll -o %t/inline.o
44
# RUN: dsymutil -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
5-
# RUN: dsymutil --linker=llvm -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
5+
# RUN: dsymutil --linker=parallel -f -oso-prepend-path=%t -y %s -o - | llvm-dwarfdump -debug-line - | FileCheck %s
66

77
# Test inline source files.
88

llvm/test/tools/dsymutil/ARM/inlined-low_pc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ int bar(int a) { return foo(a); }
55

66
// RUN: dsymutil -f -y %p/dummy-debug-map-amr64.map -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | llvm-dwarfdump - | FileCheck %s
77

8-
// RUN: dsymutil --linker llvm -f -y %p/dummy-debug-map-amr64.map \
8+
// RUN: dsymutil --linker parallel -f -y %p/dummy-debug-map-amr64.map \
99
// RUN: -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | \
1010
// RUN: llvm-dwarfdump - | FileCheck %s
1111

llvm/test/tools/dsymutil/ARM/obfuscated.test

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ RUN: rm %t.dSYM/Contents/Resources/E828A486-8433-3A5E-B6DB-A6294D28133D.plist
2929
RUN: dsymutil --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=NOTOBFUSCATING %s
3030

3131
// ----------------------------------------
32-
// Repeat the same steps for --linker llvm.
33-
RUN: dsymutil --linker llvm --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \
32+
// Repeat the same steps for --linker parallel.
33+
RUN: dsymutil --linker parallel --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \
3434
RUN: | llvm-dwarfdump -v - \
3535
RUN: | FileCheck %s
3636

37-
RUN: dsymutil --linker llvm --accelerator=Pub --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \
37+
RUN: dsymutil --linker parallel --accelerator=Pub --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \
3838
RUN: | llvm-dwarfdump -v - \
3939
RUN: | FileCheck --check-prefix=PUB %s
4040

41-
RUN: dsymutil --linker llvm --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \
41+
RUN: dsymutil --linker parallel --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \
4242
RUN: | llvm-dwarfdump -v - \
4343
RUN: | FileCheck --check-prefix=NOHIDDEN %s
4444

45-
RUN: dsymutil --linker llvm --symbol-map %p/../Inputs/obfuscated.2.map %p/../Inputs/obfuscated.2.arm64 -f -o - \
45+
RUN: dsymutil --linker parallel --symbol-map %p/../Inputs/obfuscated.2.map %p/../Inputs/obfuscated.2.arm64 -f -o - \
4646
RUN: | llvm-dwarfdump -v - \
4747
RUN: | FileCheck --check-prefix=NOHIDDEN %s
4848

@@ -52,11 +52,11 @@ RUN: mkdir -p %t.mapdir
5252
RUN: cp %p/../Inputs/obfuscated.arm64 %t.dSYM/Contents/Resources/DWARF/
5353
RUN: cp %p/../Inputs/E828A486-8433-3A5E-B6DB-A6294D28133D.plist %t.dSYM/Contents/Resources/
5454
RUN: cp %p/../Inputs/obfuscated.map %t.mapdir/506AA50A-6B26-3B37-86D2-DC6EBD57B720.bcsymbolmap
55-
RUN: dsymutil --linker llvm --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=OBFUSCATING %s
55+
RUN: dsymutil --linker parallel --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=OBFUSCATING %s
5656

5757
// Run without plist and make sure dsymutil doesn't crash.
5858
RUN: rm %t.dSYM/Contents/Resources/E828A486-8433-3A5E-B6DB-A6294D28133D.plist
59-
RUN: dsymutil --linker llvm --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=NOTOBFUSCATING %s
59+
RUN: dsymutil --linker parallel --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=NOTOBFUSCATING %s
6060

6161
OBFUSCATING-NOT: not unobfuscating
6262

llvm/test/tools/dsymutil/ARM/preload.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/fo
88
RUN: llvm-nm %p/../Inputs/private/tmp/preload/foo | FileCheck %s
99
RUN: llvm-nm %t.dSYM/Contents/Resources/DWARF/foo | FileCheck %s
1010

11-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/foo -o %t.dSYM
11+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/foo -o %t.dSYM
1212
RUN: llvm-nm %p/../Inputs/private/tmp/preload/foo | FileCheck %s
1313
RUN: llvm-nm %t.dSYM/Contents/Resources/DWARF/foo | FileCheck %s
1414

llvm/test/tools/dsymutil/ARM/scattered.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ RUN: dsymutil -y %p/dummy-debug-map.map -oso-prepend-path \
22
RUN: %p/../Inputs/scattered-reloc/ -f -o - | \
33
RUN: llvm-dwarfdump -debug-info - | FileCheck %s
44

5-
RUN: dsymutil --linker llvm -y %p/dummy-debug-map.map \
5+
RUN: dsymutil --linker parallel -y %p/dummy-debug-map.map \
66
RUN: -oso-prepend-path %p/../Inputs/scattered-reloc/ -f -o - \
77
RUN: | llvm-dwarfdump -debug-info - | FileCheck %s
88

llvm/test/tools/dsymutil/ARM/thumb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: dsymutil -f -oso-prepend-path=%p/.. %p/../Inputs/thumb.armv7m -o - | llvm-dwarfdump - | FileCheck %s
22
// RUN: dsymutil -arch armv7m -f -oso-prepend-path=%p/.. %p/../Inputs/thumb.armv7m -o - | llvm-dwarfdump - | FileCheck %s
33

4-
// RUN: dsymutil --linker llvm -f -oso-prepend-path=%p/.. \
4+
// RUN: dsymutil --linker parallel -f -oso-prepend-path=%p/.. \
55
// RUN: %p/../Inputs/thumb.armv7m -o - | llvm-dwarfdump - | FileCheck %s
6-
// RUN: dsymutil --linker llvm -arch armv7m -f -oso-prepend-path=%p/.. \
6+
// RUN: dsymutil --linker parallel -arch armv7m -f -oso-prepend-path=%p/.. \
77
// RUN: %p/../Inputs/thumb.armv7m -o - | llvm-dwarfdump - | FileCheck %s
88

99
/* Compile with:

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/dead-stripped.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// RUN: dsymutil --linker llvm --no-odr -f -y %p/../dummy-debug-map.map -oso-prepend-path \
1+
// RUN: dsymutil --linker parallel --no-odr -f -y %p/../dummy-debug-map.map -oso-prepend-path \
22
// RUN: %p/../../Inputs/dead-stripped -o - | llvm-dwarfdump - --debug-info | \
33
// RUN: FileCheck %s --implicit-check-not \
44
// RUN: "{{DW_AT_low_pc|DW_AT_high_pc|DW_AT_location|DW_TAG|NULL}}"
55
//
6-
// RUN: dsymutil --linker llvm -f -y %p/../dummy-debug-map.map -oso-prepend-path \
6+
// RUN: dsymutil --linker parallel -f -y %p/../dummy-debug-map.map -oso-prepend-path \
77
// RUN: %p/../../Inputs/dead-stripped -o - | llvm-dwarfdump - --debug-info | \
88
// RUN: FileCheck %s --implicit-check-not \
99
// RUN: "{{DW_AT_low_pc|DW_AT_high_pc|DW_AT_location|DW_TAG|NULL}}" \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
RUN: llvm-mc %p/../../Inputs/empty-CU.s -filetype obj -triple x86_64-apple-darwin -o %t.o
2-
RUN: dsymutil --linker llvm --update -f %t.o -o - | llvm-dwarfdump -v - -debug-info | FileCheck %s
2+
RUN: dsymutil --linker parallel --update -f %t.o -o - | llvm-dwarfdump -v - -debug-info | FileCheck %s
33

44
CHECK: .debug_info contents:
55
CHECK-NOT: DW_TAG_compile_unit

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/empty_range.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Compile with:
55
# llvm-mc -triple x86_64-apple-darwin -filetype=obj -o 1.o empty_range.o
66

7-
# RUN: dsymutil --linker llvm -f -y %p/../dummy-debug-map.map -oso-prepend-path %p/../../Inputs/empty_range -o - | llvm-dwarfdump -debug-info - | FileCheck %s
7+
# RUN: dsymutil --linker parallel -f -y %p/../dummy-debug-map.map -oso-prepend-path %p/../../Inputs/empty_range -o - | llvm-dwarfdump -debug-info - | FileCheck %s
88

99
.section __TEXT,__text,regular,pure_instructions
1010
.macosx_version_min 10, 11

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/frame-1.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# RUN: rm -rf %t
22
# RUN: mkdir -p %t
33
# RUN: llc -filetype=obj %p/../../Inputs/frame-dw2.ll -o %t/frame-dw2.o
4-
# RUN: dsymutil --linker llvm -f -oso-prepend-path=%t -y %s -o - | \
4+
# RUN: dsymutil --linker parallel -f -oso-prepend-path=%t -y %s -o - | \
55
# RUN: llvm-dwarfdump -debug-frame - | FileCheck %s
66

77
# This test is meant to verify that identical CIEs will get reused

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/frame-2.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RUN: mkdir -p %t
33
# RUN: llc -filetype=obj %p/../../Inputs/frame-dw2.ll -o %t/frame-dw2.o
44
# RUN: llc -filetype=obj %p/../../Inputs/frame-dw4.ll -o %t/frame-dw4.o
5-
# RUN: dsymutil --linker llvm -f -oso-prepend-path=%t -y %s -o - | \
5+
# RUN: dsymutil --linker parallel -f -oso-prepend-path=%t -y %s -o - | \
66
# RUN: llvm-dwarfdump -debug-frame - | FileCheck %s
77

88
# Check the handling of multiple different CIEs. To have CIEs that

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/inlined-static-variable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: dsymutil --linker llvm -f -y %p/../dummy-debug-map.map -oso-prepend-path \
1+
// RUN: dsymutil --linker parallel -f -y %p/../dummy-debug-map.map -oso-prepend-path \
22
// RUN: %p/../../Inputs/inlined-static-variable -o - -keep-function-for-static | \
33
// RUN: llvm-dwarfdump - | FileCheck %s --implicit-check-not \
44
// RUN: "{{DW_AT_low_pc|DW_AT_high_pc|DW_AT_location|DW_TAG|NULL}}" \

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/keep-func.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ int main()
2020
$ clang++ -O2 -g main.cpp -c -o main.o
2121
$ clang++ main.o -o main.out
2222

23-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../../Inputs %p/../../Inputs/private/tmp/keep_func/main.out -o %t.omit.dSYM
24-
RUN: dsymutil --linker llvm -oso-prepend-path %p/../../Inputs %p/../../Inputs/private/tmp/keep_func/main.out -o %t.keep.dSYM -keep-function-for-static
23+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../../Inputs %p/../../Inputs/private/tmp/keep_func/main.out -o %t.omit.dSYM
24+
RUN: dsymutil --linker parallel -oso-prepend-path %p/../../Inputs %p/../../Inputs/private/tmp/keep_func/main.out -o %t.keep.dSYM -keep-function-for-static
2525
RUN: llvm-dwarfdump %t.omit.dSYM | FileCheck %s --check-prefix OMIT
2626
RUN: llvm-dwarfdump %t.keep.dSYM | FileCheck %s --check-prefix KEEP
2727

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-anon-namespace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
done
55
*/
66

7-
// RUN: dsymutil --linker llvm -f \
7+
// RUN: dsymutil --linker parallel -f \
88
// RUN: -oso-prepend-path=%p/../../Inputs/odr-anon-namespace \
99
// RUN: -y %p/../dummy-debug-map.map -o - | \
1010
// RUN: llvm-dwarfdump -debug-info - | FileCheck %s

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Inputs/odr-fwd-declaration/$FILE.o done
55
*/
66

7-
// RUN: dsymutil --linker=llvm -f \
7+
// RUN: dsymutil --linker=parallel -f \
88
// RUN: -oso-prepend-path=%p/../../Inputs/odr-fwd-declaration \
99
// RUN: -y %p/../dummy-debug-map.map -o %t1.out
1010
// RUN: llvm-dwarfdump -v -debug-info %t1.out | FileCheck %s

llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration2.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Inputs/odr-fwd-declaration2/$FILE.o done
55
*/
66

7-
// RUN: dsymutil --linker=llvm -f \
7+
// RUN: dsymutil --linker=parallel -f \
88
// RUN: -oso-prepend-path=%p/../../Inputs/odr-fwd-declaration2 \
99
// RUN: -y %p/../dummy-debug-map.map -o %t1.out
1010
// RUN: llvm-dwarfdump -v %t1.out -debug-info | FileCheck %s

0 commit comments

Comments
 (0)