20 lines · plain
1# This test uses symlinks.2UNSUPPORTED: system-windows3 4# Ensure that no realpath assumptions are made about .gnu_debuglink paths.5 6# Copy inputs to some other location with arbitrary names, with the original7# filenames just being symlinks to the copies. Real files go in the "real" dir,8# symlinks (with original names) go in "syms".9RUN: rm -rf %t/real %t/syms10RUN: mkdir -p %t/real %t/syms11RUN: cp %p/Inputs/dwarfdump-test.elf-x86-64 %t/real/prog12RUN: cp %p/Inputs/dwarfdump-test.elf-x86-64.debuglink %t/real/link13RUN: ln -s %t/real/prog %t/syms/dwarfdump-test.elf-x86-6414RUN: ln -s %t/real/link %t/syms/dwarfdump-test.elf-x86-64.debuglink15 16RUN: llvm-symbolizer --obj=%t/syms/dwarfdump-test.elf-x86-64.debuglink 0x40113f | FileCheck %s17 18CHECK: main19CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:1620