// RUN: llvm-mc -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o
// RUN: llvm-dwarfdump %t.o | FileCheck %s

// CHECK: DW_AT_comp_dir [DW_FORM_string] ("/test/comp/dir")

f:
  nop

// RUN: llvm-mc -triple=x86_64-linux-unknown -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o
// RUN: llvm-dwarfdump %t.o | FileCheck %s

// CHECK: DW_AT_comp_dir [DW_FORM_string] ("/test/comp/dir")

f:
  nop

Add a triple to this test -- it has to be an ELF platform...
Add a triple to this test -- it has to be an ELF platform...

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@170374 91177308-0d34-0410-b5e6-96231b3b80d8
