================
@@ -136,6 +141,21 @@ class PluginProperties : public Properties {
 
   bool UseNativeReader() const {
 #if LLVM_ENABLE_DIA_SDK && defined(_WIN32)
+    return IsNativeReaderRequested();
+#else
+    if (!IsNativeReaderRequested()) {
+      static std::once_flag g_warning_shown;
+      Debugger::ReportWarning(
----------------
Michael137 wrote:

> DIA PDB reader was explicitly requested

This holds because `IsNativeReaderRequested` will only return `false` when a 
user specified `LLDB_USE_NATIVE_PDB_READER` to be any non-empty string other 
than `on`/`yes`/`1`/`true`, right?

https://github.com/llvm/llvm-project/pull/160067
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to