diff --git a/llvm/test/CodeGen/NVPTX/debug-file-loc.ll b/llvm/test/CodeGen/NVPTX/debug-file-loc.ll index 083cd173f320..a0850755d395 100644 --- a/llvm/test/CodeGen/NVPTX/debug-file-loc.ll +++ b/llvm/test/CodeGen/NVPTX/debug-file-loc.ll @@ -8,8 +8,8 @@ ;__device__ void bar() {} ;} -; CHECK: .file 1 "/source/dir/bar.cu" -; CHECK: .file 2 "/source/dir/foo.h" +; CHECK: .file 1 "/source/dir{{/|\\\\}}bar.cu" +; CHECK: .file 2 "/source/dir{{/|\\\\}}foo.h" ; CHECK-LABEL: @foo define void @foo() !dbg !4 {