brintos

brintos / llvm-project-archived public Read only

0
0
Text · 629 B · 59edce1 Raw
19 lines · plain
1// Don't try to make symlinks on Windows.2// UNSUPPORTED: system-windows3//4// RUN: llvm-mc -triple=x86_64-linux-unknown -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o5// RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s6 7// CHECK: DW_AT_comp_dir [DW_FORM_string] ("{{([A-Za-z]:.*)?}}/test/comp/dir")8 9// RUN: mkdir -p %t.foo10// RUN: ln -sf %t.foo %t.bar11// RUN: cd %t.foo12// RUN: env PWD=%t.bar llvm-mc -triple=x86_64-linux-unknown -g %s -filetype=obj -o %t.o13// RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck --check-prefix=PWD %s14// PWD: DW_AT_comp_dir [DW_FORM_string] ("{{.*}}.bar")15 16 17f:18  nop19