xref: /llvm-project/llvm/test/tools/llvm-nm/bitcode-export-sym.test (revision fd3ba1f862f54811ff9f4663ff298ff02d9c3b70)
1# REQUIRES: powerpc-registered-target
2## Test the "--export-symbols" option with bitcode input files.
3
4# RUN: llvm-as -o %t32.bc %p/Inputs/bitcode-sym32.ll
5# RUN: llvm-as -o %t64.bc %p/Inputs/bitcode-sym64.ll
6
7# RUN: llvm-nm --export-symbols %t32.bc %t64.bc | FileCheck %s --check-prefixes=CHECK --implicit-check-not={{.}}
8
9# CHECK:      C32
10# CHECK-NEXT: C64
11# CHECK-NEXT: bar64
12# CHECK-NEXT: foo32
13