summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-nm/X86/weak.test
blob: 8d06f4fb029ea287a3b4ea4957d213bac89d6c28 (plain)
1
2
3
4
5
6
7
# RUN: llvm-nm -B -S %p/Inputs/weak.obj.elf-x86_64 | FileCheck --match-full-lines %s
# RUN: llvm-nm -W -B -S %p/Inputs/weak.obj.elf-x86_64 | count 0

CHECK:                  w weak_extern_func
CHECK:                  w weak_extern_var
CHECK: 0000000000000000 0000000000000011 W weak_func
CHECK: 0000000000000000 0000000000000004 V weak_var
OpenPOWER on IntegriCloud