================
@@ -0,0 +1,57 @@
+// clang-format off
+
+// REQUIRES: target-windows
+// RUN: %build --compiler=clang-cl -o %t.exe --std c++20 -- %s
+// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "b main" -o "run" 
-o "fr v" -o c | FileCheck %s
+
+#include <bitset>
----------------
Nerixyz wrote:

> Tests for libc++ on Windows (which AFAIU, isn't the recommended configuration 
> on Windows but is definitely used in the wild)

libstdc++ and (sometimes) libc++ are used on MinGW (and probably Cygwin). 
There, MS' STL can't be used.

One other thing: https://lldb.llvm.org/use/variable.html#categories mentions 
that the formatters for libc++ and libstdc++ would be in different categories 
(`libcxx`, `gnu-libstdc++`), but (at least the built-in ones) are [all put in 
the `cplusplus` 
category](https://github.com/llvm/llvm-project/blob/76a55d3860f76c15ca51d188e10e4352fecf61e9/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp#L1731-L1737).



https://github.com/llvm/llvm-project/pull/140761
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to