3 # RUN: llvm-ifs --input-format=IFS --output-ifs=- --exclude='exclude*' %s | FileCheck %s
5 # Check that exclude excludes from elf files too.
6 # RUN: llvm-ifs %s --output-elf - --exclude='exclude*' | llvm-ifs - --output-ifs - | FileCheck %s
8 # RUN: llvm-ifs --input-format=IFS --output-ifs=- --exclude='exclude*' \
9 # RUN: --strip-undefined %s | FileCheck %s --check-prefix=BOTH
11 # RUN: not llvm-ifs --input-format=IFS --output-ifs=- --exclude='[' %s 2>&1 | \
12 # RUN: FileCheck %s --check-prefix=BAD-GLOB
14 # BAD-GLOB: error: invalid glob pattern: [
19 Target: x86_64-unknown-linux-gnu
21 - { Name: dont_exclude, Type: Func, Undefined: true }
22 - { Name: exclude_1, Type: Func }
23 - { Name: exclude_2, Type: Func, Undefined: true }
24 - { Name: no_match_not_undef, Type: Func }
28 # CHECK-NEXT: - { Name: dont_exclude, Type: Func, Undefined: true }
29 # CHECK-NEXT: - { Name: no_match_not_undef, Type: Func }
33 # BOTH-NEXT: - { Name: no_match_not_undef, Type: Func }