1 RUN: llvm-objcopy -R .debug_str %p/Inputs/llvm-symbolizer-test.elf-x86-64 %t.elf
2 RUN: llvm-symbolizer --functions=linkage --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=LINKAGE
3 RUN: llvm-symbolizer --functions=short --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=SHORT
6 LINKAGE-NEXT: {{^}}llvm-symbolizer-test.c:10:0
9 SHORT-NEXT: {{^}}llvm-symbolizer-test.c:10:0