File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
test/tools/llvm-dwarfdump Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11; RUN: llc -O0 %s -filetype=obj -o %t.o
22; RUN: llvm-dwarfdump -arch arm64 %t.o | FileCheck %s
3- ; RUN: llvm-dwarfdump -arch aarch64 %t.o | FileCheck %s
43; RUN: llvm-dwarfdump -arch 0x0100000c %t.o | FileCheck %s
54; CHECK: file format Mach-O arm64
65;
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) {
271271 return true ;
272272
273273 // Match as name.
274- if (MachO->getArchTriple ().getArch () == Triple (Arch).getArch ())
274+ if (MachO->getArchTriple ().getArchName () == Triple (Arch).getArchName ())
275275 return true ;
276276 }
277277 }
You can’t perform that action at this time.
0 commit comments