[Lldb-commits] [lldb] 229a165 - [lldb][test] Disable vla test on Windows

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 1 06:00:15 PDT 2024


Author: David Spickett
Date: 2024-08-01T12:59:49Z
New Revision: 229a16590a3cd65da77bb868498d3eed63bf6263

URL: https://github.com/llvm/llvm-project/commit/229a16590a3cd65da77bb868498d3eed63bf6263
DIFF: https://github.com/llvm/llvm-project/commit/229a16590a3cd65da77bb868498d3eed63bf6263.diff

LOG: [lldb][test] Disable vla test on Windows

For the same reasons as 6cfac497e96978f2bfc50a00b51c198f2ed50f82.

This test was added in https://github.com/llvm/llvm-project/pull/100710.

It fails because when we're linking with link.exe, -gdwarf has no
effect and we get a PDB file anyway. The Windows on Arm lldb bot
uses link.exe.

 "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.34.31933\\bin\\Hostx86\\arm64\\link.exe" <...>

08/01/2024  01:47 PM         2,956,488 vla.cpp.ilk
08/01/2024  01:47 PM         6,582,272 vla.cpp.pdb
08/01/2024  01:47 PM           734,208 vla.cpp.tmp

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/vla.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/vla.cpp b/lldb/test/Shell/SymbolFile/DWARF/vla.cpp
index 344b100efd9f9..47a4aa1836899 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/vla.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/vla.cpp
@@ -1,3 +1,6 @@
+// When linking with link.exe, -gdwarf still produces PDB instead.
+// UNSUPPORTED: system-windows
+
 // RUN: %clangxx_host -gdwarf -std=c++11 -o %t %s
 // RUN: %lldb %t \
 // RUN:   -o run \


        


More information about the lldb-commits mailing list