diff options
author | Paul Robinson <paul.robinson@sony.com> | 2018-03-06 22:37:45 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2018-03-06 22:37:45 +0000 |
commit | 4428e90efa31df7b288b170330dc7ec941ea72f8 (patch) | |
tree | f22c88ca283c4e5c7e19c2d1c52637d340b4612a /llvm/test/DebugInfo | |
parent | ca38c762e46c22566f09e41712c2ea3ea2e1240a (diff) | |
download | bcm5719-llvm-4428e90efa31df7b288b170330dc7ec941ea72f8.tar.gz bcm5719-llvm-4428e90efa31df7b288b170330dc7ec941ea72f8.zip |
Reapply "[DWARFv5] Emit file 0 to the line table."
Fixes the bug found by asan. Also XFAIL the new test for Darwin,
which is stuck on DWARF v2, and fix up other tests so they stop
failing on Windows.
llvm-svn: 326839
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r-- | llvm/test/DebugInfo/X86/dbg-file-name.ll | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/X86/inline-asm-locs.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/X86/dbg-file-name.ll b/llvm/test/DebugInfo/X86/dbg-file-name.ll index 251952df191..633b9c069c5 100644 --- a/llvm/test/DebugInfo/X86/dbg-file-name.ll +++ b/llvm/test/DebugInfo/X86/dbg-file-name.ll @@ -2,7 +2,7 @@ ; Verify that the file name is relative to the directory. ; rdar://problem/8884898 -; CHECK: file 1 "simple.c" +; CHECK: file 1 "/Users/manav/one/two" "simple.c" declare i32 @printf(i8*, ...) nounwind diff --git a/llvm/test/DebugInfo/X86/inline-asm-locs.ll b/llvm/test/DebugInfo/X86/inline-asm-locs.ll index 632aa0be623..5412c7f4133 100644 --- a/llvm/test/DebugInfo/X86/inline-asm-locs.ll +++ b/llvm/test/DebugInfo/X86/inline-asm-locs.ll @@ -22,7 +22,7 @@ ; CHECK: .file 2 "B.asm" ; CHECK: .loc 1 111 ; CHECK: .loc 2 222 -; CHECK: .file 3 "test.c" +; CHECK: .file 3 "{{.*[/\\]}}test.c" ; CHECK: .loc 3 14 0 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" |