Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40d2d29

Browse files
JDevlieghereadrian-prantl
authored andcommitted
[lldb] Include SBLanguages in the SWIG bindings (llvm#92470)
(cherry picked from commit d74bc82) (cherry picked from commit 19ef747)
1 parent de839a9 commit 40d2d29

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

lldb/bindings/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ file(GLOB_RECURSE SWIG_SOURCES *.swig)
33
file(GLOB SWIG_HEADERS
44
${LLDB_SOURCE_DIR}/include/lldb/API/*.h
55
${LLDB_SOURCE_DIR}/include/lldb/*.h
6+
${LLDB_BINARY_DIR}/include/lldb/API/SBLanguages.h
67
)
78
file(GLOB SWIG_PRIVATE_HEADERS
89
${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h
@@ -36,6 +37,7 @@ set(SWIG_COMMON_FLAGS
3637
-w361,362,509
3738
-features autodoc
3839
-I${LLDB_SOURCE_DIR}/include
40+
-I${LLDB_BINARY_DIR}/include
3941
-I${CMAKE_CURRENT_SOURCE_DIR}
4042
${DARWIN_EXTRAS}
4143
)

lldb/bindings/headers.swig

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include "lldb/API/SBHostOS.h"
3737
#include "lldb/API/SBInstruction.h"
3838
#include "lldb/API/SBInstructionList.h"
39+
#include "lldb/API/SBLanguages.h"
3940
#include "lldb/API/SBLanguageRuntime.h"
4041
#include "lldb/API/SBLaunchInfo.h"
4142
#include "lldb/API/SBLineEntry.h"

lldb/bindings/interfaces.swig

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
%include "lldb/API/SBHostOS.h"
115115
%include "lldb/API/SBInstruction.h"
116116
%include "lldb/API/SBInstructionList.h"
117+
%include "lldb/API/SBLanguages.h"
117118
%include "lldb/API/SBLanguageRuntime.h"
118119
%include "lldb/API/SBLaunchInfo.h"
119120
%include "lldb/API/SBLineEntry.h"

lldb/bindings/lua/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ else()
1010
DEPENDS ${SWIG_SOURCES}
1111
DEPENDS ${SWIG_INTERFACES}
1212
DEPENDS ${SWIG_HEADERS}
13+
DEPENDS lldb-sbapi-dwarf-enums
1314
COMMAND ${SWIG_EXECUTABLE}
1415
${SWIG_COMMON_FLAGS}
1516
-I${CMAKE_CURRENT_SOURCE_DIR}

lldb/bindings/python/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ add_custom_command(
1111
DEPENDS ${SWIG_SOURCES}
1212
DEPENDS ${SWIG_INTERFACES}
1313
DEPENDS ${SWIG_HEADERS}
14+
DEPENDS lldb-sbapi-dwarf-enums
1415
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/prepare_binding_python.py
1516
COMMAND ${Python3_EXECUTABLE} ${LLDB_SOURCE_DIR}/bindings/prepare_bindings.py
1617
${framework_arg}

0 commit comments

Comments
 (0)