Skip to content

Commit 3031fa8

Browse files
MehdiChinounemstorsjo
authored andcommitted
[lldb] Fix building standalone LLDB on Windows.
It was broken since https://reviews.llvm.org/D110172 Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D122523
1 parent 573e487 commit 3031fa8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
#include "Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h"
5858

5959
#if defined(_WIN32)
60-
#include "llvm/Config/config.h"
60+
#include "llvm/Config/llvm-config.h"
6161
#endif
6262

6363
using namespace lldb;

llvm/include/llvm/Config/config.h.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
don't. */
5151
#cmakedefine01 HAVE_DECL_STRERROR_S
5252

53-
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
54-
#cmakedefine01 LLVM_ENABLE_DIA_SDK
55-
5653
/* Define to 1 if you have the <dlfcn.h> header file. */
5754
#cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
5855

llvm/include/llvm/Config/llvm-config.h.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,7 @@
113113
* in non assert builds */
114114
#cmakedefine01 LLVM_UNREACHABLE_OPTIMIZE
115115

116+
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
117+
#cmakedefine01 LLVM_ENABLE_DIA_SDK
118+
116119
#endif

0 commit comments

Comments
 (0)