File tree 3 files changed +5
-2
lines changed
test/tools/llvm-dwarfdump
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
; RUN: llc -O0 %s -filetype=obj -o %t.o
2
2
; RUN: llvm-dwarfdump -arch arm64 %t.o | FileCheck %s
3
- ; RUN: llvm-dwarfdump -arch aarch64 %t.o | FileCheck %s
4
3
; RUN: llvm-dwarfdump -arch 0x0100000c %t.o | FileCheck %s
5
4
; CHECK: file format Mach-O arm64
6
5
;
Original file line number Diff line number Diff line change
1
+ Make sure that passing --arch armv7s only shows the armv7s slice and not the armv7 slice.
2
+
3
+ RUN: llvm-dwarfdump -arch armv7s %S/../dsymutil/Inputs/fat-test.arm.dylib | FileCheck %s
4
+ CHECK-NOT: (armv7)
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ static bool filterArch(ObjectFile &Obj) {
271
271
return true ;
272
272
273
273
// Match as name.
274
- if (MachO->getArchTriple ().getArch () == Triple (Arch).getArch ())
274
+ if (MachO->getArchTriple ().getArchName () == Triple (Arch).getArchName ())
275
275
return true ;
276
276
}
277
277
}
You can’t perform that action at this time.
0 commit comments