1 ## Test --strip-needed flag
3 # RUN: llvm-ifs --input-format=IFS --strip-needed --output-ifs=- %s | FileCheck %s
5 # RUN: llvm-ifs --input-format=IFS --output-elf=- %s | \
6 # RUN: obj2yaml | FileCheck %s --check-prefix=FROM-ELF
8 # RUN: llvm-ifs --input-format=IFS --strip-needed --output-elf=- %s | \
9 # RUN: obj2yaml | FileCheck %s --check-prefix=FROM-ELF-STRIP-NEEDED
13 Target: { ObjectFormat: ELF, Arch: AArch64, Endianness: little, BitWidth: 64 }
20 # CHECK-NEXT: IfsVersion: {{[1-9]\d*\.(0|([1-9]\d*))}}
21 # CHECK-NEXT: Target: { ObjectFormat: ELF, Arch: AArch64, Endianness: little, BitWidth: 64 }
22 # CHECK-NEXT: Symbols: []
26 # FROM-ELF-STRIP-NEEDED-NOT: DT_NEEDED