[Lldb-commits] [PATCH] D110172: [lldb/win] Default to native PDB reader when building with LLVM_ENABLE_DIA_SDK=NO

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 22 01:49:25 PDT 2021


labath added inline comments.


================
Comment at: lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp:89-90
 static bool ShouldUseNativeReader() {
 #if defined(_WIN32)
+#if LLVM_ENABLE_DIA_SDK
   llvm::StringRef use_native = ::getenv("LLDB_USE_NATIVE_PDB_READER");
----------------
What's the value of LLVM_ENABLE_DIA_SDK on non-windows platforms? It seems to be zero on my (linux) system. Could this be just `#if LLVM_ENABLE_DIA_SDK` ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110172/new/

https://reviews.llvm.org/D110172



More information about the lldb-commits mailing list