[Lldb-commits] [PATCH] D122523: [lldb] Fix building standalone LLDB on Windows.

مهدي شينون (Mehdi Chinoune) via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 25 23:21:00 PDT 2022


MehdiChinoune created this revision.
MehdiChinoune added reviewers: LLDB, thakis.
MehdiChinoune added projects: LLDB, LLVM.
Herald added subscribers: JDevlieghere, mgorny.
Herald added a project: All.
MehdiChinoune requested review of this revision.
Herald added subscribers: llvm-commits, lldb-commits.

It was broken since https://reviews.llvm.org/D110172


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122523

Files:
  lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  llvm/include/llvm/Config/config.h.cmake
  llvm/include/llvm/Config/llvm-config.h.cmake


Index: llvm/include/llvm/Config/llvm-config.h.cmake
===================================================================
--- llvm/include/llvm/Config/llvm-config.h.cmake
+++ llvm/include/llvm/Config/llvm-config.h.cmake
@@ -116,4 +116,7 @@
  * in non assert builds */
 #cmakedefine01 LLVM_UNREACHABLE_OPTIMIZE
 
+/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
+#cmakedefine01 LLVM_ENABLE_DIA_SDK
+
 #endif
Index: llvm/include/llvm/Config/config.h.cmake
===================================================================
--- llvm/include/llvm/Config/config.h.cmake
+++ llvm/include/llvm/Config/config.h.cmake
@@ -50,9 +50,6 @@
    don't. */
 #cmakedefine01 HAVE_DECL_STRERROR_S
 
-/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
-#cmakedefine01 LLVM_ENABLE_DIA_SDK
-
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
 
Index: lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
===================================================================
--- lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
+++ lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
@@ -57,7 +57,7 @@
 #include "Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h"
 
 #if defined(_WIN32)
-#include "llvm/Config/config.h"
+#include "llvm/Config/llvm-config.h"
 #endif
 
 using namespace lldb;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122523.418380.patch
Type: text/x-patch
Size: 1375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220326/30e8f7c6/attachment.bin>


More information about the lldb-commits mailing list