[Lldb-commits] [lldb] [lldb][NativePDB] Require `target-windows` for MSVC test (PR #186578)

via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 14 02:41:04 PDT 2026


https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/186578

Fixes the failure on the lldb-remote-linux-win buildbot (https://github.com/llvm/llvm-project/pull/186124#issuecomment-4060098881).

The test runs MSVC to produce an executable that only runs on Windows.

>From 8153a8e595957dd388b5eba145768fa8e068c97d Mon Sep 17 00:00:00 2001
From: Nerixyz <nerixdev at outlook.de>
Date: Sat, 14 Mar 2026 10:39:03 +0100
Subject: [PATCH] [lldb][NativePDB] Require `target-windows` for MSVC test

---
 .../Shell/SymbolFile/NativePDB/structured-bindings-msvc.test    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/test/Shell/SymbolFile/NativePDB/structured-bindings-msvc.test b/lldb/test/Shell/SymbolFile/NativePDB/structured-bindings-msvc.test
index dfc654fd72ae3..ebe6cceda7ea6 100644
--- a/lldb/test/Shell/SymbolFile/NativePDB/structured-bindings-msvc.test
+++ b/lldb/test/Shell/SymbolFile/NativePDB/structured-bindings-msvc.test
@@ -1,4 +1,4 @@
-# REQUIRES: lld, msvc
+# REQUIRES: lld, msvc, target-windows
 
 # Test that LLDB can show variables introduced in C++ 17 structured bindings
 # when compiled with MSVC.



More information about the lldb-commits mailing list