Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-symbolizer / basenames.s
blobb95817c6522d6d3b876405ee2042b7e4382eafb5
1 # REQUIRES: x86-registered-target
3 foo:
4 nop
6 # RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g
7 # RUN: llvm-symbolizer 0 --basenames --obj=%t.o | FileCheck %s
8 # RUN: llvm-symbolizer 0 -s --obj=%t.o | FileCheck %s
9 # RUN: llvm-symbolizer 0 --obj=%t.o | FileCheck %s -DDIR=%p --check-prefix=DEFAULT
11 # CHECK: {{^}}basenames.s:4
12 # DEFAULT: [[DIR]]{{\\|/}}basenames.s:4