llvm-for-llvmta/test/tools/llvm-dwarfdump/X86/archive.test

19 lines
757 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
RUN: | FileCheck %s
CHECK: libfat-test.a(x86_64)(fat-test.o): file format Mach-O 64-bit x86-64
CHECK: .debug_info contents:
CHECK: libfat-test.a(i386)(fat-test.o): file format Mach-O 32-bit i386
CHECK: .debug_info contents:
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
RUN: --arch=i386 | FileCheck %s --check-prefix=I386
I386-NOT: 64-bit
I386: file format Mach-O 32-bit i386
I386-NOT: 64-bit
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
RUN: --arch=i386 --arch=x86_64 | FileCheck %s
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
RUN: --arch=7 | FileCheck %s --check-prefix=I386