Skip to content

Commit ac5390c

Browse files
authored
Merge pull request #2329 from apple/🍒/ganymede/c6e341c89957db31432baffb72ee015f37d8c48d
🍒/ganymede/c6e341c89957db31432baffb72ee015f37d8c48d
2 parents 07153da + 72ec600 commit ac5390c

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ $ xcrun --sdk iphoneos clang -g private_extern.c -c -o private_extern.o -target
3535
$ xcrun --sdk iphoneos clang -g main.c -c -o main.o -target arm64-apple-ios14.0
3636
$ xcrun --sdk iphoneos clang private_extern.o main.o -target arm64-apple-ios14.0 -o private_extern.out -Xlinker -alias_list -Xlinker alias_list
3737

38-
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose 2>&1 | FileCheck %s
39-
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose 2>&1 | FileCheck %s
38+
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/private_extern/private_extern.out -o %t.dSYM --verbose | FileCheck %s
39+
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/extern/extern.out -o %t.dSYM --verbose | FileCheck %s
4040
CHECK-NOT: could not find object file symbol for symbol _baz
4141
CHECK: { sym: _foo, objAddr: 0x0, binAddr: 0x100007F58, size: 0x20 }
4242
CHECK: { sym: _baz, objAddr: 0x0, binAddr: 0x100007F58, size: 0x0 }

llvm/test/tools/dsymutil/Inputs/basic.macho.x86_64.o

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
RUN: mkdir -p %t/Inputs
2+
RUN: cp %p/../Inputs/basic.macho.x86_64 %t/Inputs
3+
RUN: cp %p/../Inputs/basic1.macho.x86_64.o %t/Inputs
4+
RUN: cp %p/../Inputs/basic2.macho.x86_64.o %t/Inputs
5+
RUN: cp %p/../Inputs/basic3.macho.x86_64.o %t/Inputs
6+
RUN: dsymutil -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 -o %t.dSYM 2>&1 | FileCheck %s
7+
8+
CHECK: warning: {{.*}}/Inputs/basic1.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}})
9+
CHECK: warning: {{.*}}/Inputs/basic2.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}})
10+
CHECK: warning: {{.*}}/Inputs/basic3.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}})

llvm/test/tools/dsymutil/debug-map-parsing.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
RUN: touch %p/Inputs/basic.macho.x86_64.o
21
RUN: dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic.macho.x86_64 | FileCheck %s
32
RUN: dsymutil -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic-lto.macho.x86_64 | FileCheck %s --check-prefix=CHECK-LTO
43
RUN: dsymutil -verbose -dump-debug-map -oso-prepend-path=%p %p/Inputs/basic-archive.macho.x86_64 2>&1 | FileCheck %s --check-prefix=CHECK-ARCHIVE
@@ -47,8 +46,7 @@ opening the archive once if mulitple of its members are used).
4746
CHECK-ARCHIVE: trying to open {{.*}}basic-archive.macho.x86_64'
4847
CHECK-ARCHIVE-NEXT: loaded object.
4948
CHECK-ARCHIVE-NEXT: trying to open {{.*}}/Inputs/basic1.macho.x86_64.o'
50-
CHECK-ARCHIVE-NEXT: warning: {{.*}}/Inputs/basic1.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}})
51-
CHECK-ARCHIVE-NEXT: loaded object.
49+
CHECK-ARCHIVE: loaded object.
5250
CHECK-ARCHIVE-NEXT: trying to open {{.*}}/libbasic.a(basic2.macho.x86_64.o)'
5351
CHECK-ARCHIVE-NEXT: loaded archive {{.*}}/libbasic.a'
5452
CHECK-ARCHIVE-NEXT: found member in archive.

0 commit comments

Comments
 (0)