[RISCV] emit .option directive for functions with target features which differ from...
[llvm-project.git] / llvm / test / DebugInfo / symbolize-gnu-debuglink-no-realpath.test
blob5141ff6ce322cc273fce25cffeed51ef69141569
1 # REQUIRES: shell
2 # Ensure that no realpath assumptions are made about .gnu_debuglink paths.
4 # Copy inputs to some other location with arbitrary names, with the original
5 # filenames just being symlinks to the copies. Real files go in the "real" dir,
6 # symlinks (with original names) go in "syms".
7 RUN: rm -rf %t/real %t/syms
8 RUN: mkdir -p %t/real %t/syms
9 RUN: cp %p/Inputs/dwarfdump-test.elf-x86-64 %t/real/prog
10 RUN: cp %p/Inputs/dwarfdump-test.elf-x86-64.debuglink %t/real/link
11 RUN: ln -s %t/real/prog %t/syms/dwarfdump-test.elf-x86-64
12 RUN: ln -s %t/real/link %t/syms/dwarfdump-test.elf-x86-64.debuglink
14 RUN: llvm-symbolizer --obj=%t/syms/dwarfdump-test.elf-x86-64.debuglink 0x40113f | FileCheck %s
16 CHECK:       main
17 CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16