[llvm] 8628b54 - [NVPTX] Temporary disable dwarf-file-dir.ll on Windows

Andrew Savonichev via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 12:34:07 PDT 2022


Author: Andrew Savonichev
Date: 2022-04-26T22:26:00+03:00
New Revision: 8628b54038e95c48ee6dd6e4e9696eddea02e691

URL: https://github.com/llvm/llvm-project/commit/8628b54038e95c48ee6dd6e4e9696eddea02e691
DIFF: https://github.com/llvm/llvm-project/commit/8628b54038e95c48ee6dd6e4e9696eddea02e691.diff

LOG: [NVPTX] Temporary disable dwarf-file-dir.ll on Windows

The test was added in D121299 and it fails on Windows:

    error: CHECK-NODIR: expected string
    not found in input
    ; CHECK-NODIR: .file {{[0-9]+}} "/tmp/dbginfo/a/a.cpp"
		   ^
    <stdin>:1:1: note: scanning from here
    //
    ^
    <stdin>:25:2: note: possible intended match here
     .file 1 "/tmp/dbginfo/a\\a.cpp"

Added: 
    

Modified: 
    llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll b/llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll
index 2225eeabd8882..b3deabb4991ee 100644
--- a/llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll
+++ b/llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll
@@ -1,6 +1,9 @@
 ; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda | FileCheck --check-prefix=CHECK-NODIR %s
 ; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -dwarf-directory=1 | FileCheck --check-prefix=CHECK-DIR %s
 
+; compilation on Windows results in: /tmp/dbginfo/a\\a.cpp
+; UNSUPPORTED: windows
+
 ; CHECK-NODIR: .file   {{[0-9]+}} "/tmp/dbginfo/a/a.cpp"
 ;
 ; ptxas does not support .file directory syntax, but it can still be


        


More information about the llvm-commits mailing list