GP-1005: Added new agent for lldb on macOS and Linux

This commit is contained in:
d-millar 2021-09-30 09:53:12 -04:00 committed by Ryan Kurtz
parent a79d2578a9
commit 51cd51d658
469 changed files with 87645 additions and 8 deletions

View File

@ -0,0 +1,114 @@
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"
apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"
apply from: "$rootProject.projectDir/gradle/nativeProject.gradle"
apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"
apply plugin: 'eclipse'
eclipse.project.name = 'Debug Debugger-agent-lldb'
dependencies {
api project(':Framework-AsyncComm')
api project(':Framework-Debugging')
api project(':Debugger-gadp')
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
testImplementation project(path: ':Debugger-gadp', configuration: 'testArtifacts')
}
def boolean filterJar(File jarfile) {
if (jarfile.name.contains("gradle-api")) {
return false
} else if (jarfile.name.contains("groovy-all")) {
return false
} else if (jarfile.name.contains("gradle-installation-beacon")) {
return false
}
return true
}
jar {
manifest {
attributes['Main-Class'] = 'agent.lldb.gadp.LldbGadpServer'
}
}
task configureNodepJar {
doLast {
configurations.default.files.forEach {
if (filterJar(it)) {
nodepJar.from(zipTree(it))
}
}
}
}
task nodepJar(type: Jar) {
inputs.file(file(jar.archivePath))
dependsOn(configureNodepJar)
dependsOn(jar)
appendix = 'nodep'
manifest {
attributes['Main-Class'] = 'agent.lldb.gadp.LldbGadpServer'
}
from(zipTree(jar.archivePath))
}
// Include llvm patch and SWIG files
rootProject.assembleDistribution {
from (this.project.projectDir.toString()) {
include "src/llvm/**"
into {getZipPath(this.project) + "/data/"}
}
}
task executableJar {
ext.execsh = file("src/main/sh/execjar.sh")
ext.jarfile = file(nodepJar.archivePath)
ext.outjar = file("${buildDir}/bin/gadp-agent-lldb")
dependsOn(nodepJar)
inputs.file(execsh)
inputs.file(jarfile)
outputs.file(outjar)
doLast {
outjar.parentFile.mkdirs()
outjar.withOutputStream { output ->
execsh.withInputStream { input ->
output << input
}
jarfile.withInputStream { input ->
output << input
}
}
exec {
commandLine("chmod", "+x", outjar)
}
}
}
test {
if ("linux_x86_64".equals(getCurrentPlatformName())) {
dependsOn(":Framework-Debugging:testSpecimenLinux_x86_64")
}
if ("mac_x86_64".equals(getCurrentPlatformName())) {
dependsOn(":Framework-Debugging:testSpecimenMac_x86_64")
}
}

View File

@ -0,0 +1,21 @@
##VERSION: 2.0
##MODULE IP: Apache License 2.0
##MODULE IP: Apache License 2.0 with LLVM Exceptions
.classpath||NONE||reviewed||END|
.project||NONE||reviewed||END|
Module.manifest||GHIDRA||||END|
build.gradle||GHIDRA||||END|
src/llvm/lldb/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/bindings/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/bindings/java/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/bindings/java/java-typemaps.swig||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/bindings/java/java.swig||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/cmake/modules/FindJavaAndSwig.cmake||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/cmake/modules/LLDBConfig.cmake||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/include/lldb/Host/Config.h.cmake||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/source/API/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/source/API/liblldb-private.exports||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/source/API/liblldb.exports||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/source/Plugins/ScriptInterpreter/Java/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|
src/llvm/lldb/tools/debugserver/source/CMakeLists.txt||Apache License 2.0 with LLVM Exceptions||||END|

View File

@ -0,0 +1,109 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
cmake_minimum_required(VERSION 3.13.4)
# Add path for custom modules.
set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules"
)
# If we are not building as part of LLVM, build LLDB as a standalone project,
# using LLVM as an external library.
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
project(lldb)
include(LLDBStandalone)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
endif()
include(LLDBConfig)
include(AddLLDB)
# Define the LLDB_CONFIGURATION_xxx matching the build type.
if(uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
add_definitions(-DLLDB_CONFIGURATION_DEBUG)
endif()
if (WIN32)
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
endif()
if (LLDB_ENABLE_PYTHON)
if (NOT CMAKE_CROSSCOMPILING)
execute_process(
COMMAND ${Python3_EXECUTABLE}
-c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(True, False, ''))"
OUTPUT_VARIABLE LLDB_PYTHON_DEFAULT_RELATIVE_PATH
OUTPUT_STRIP_TRAILING_WHITESPACE)
file(TO_CMAKE_PATH ${LLDB_PYTHON_DEFAULT_RELATIVE_PATH} LLDB_PYTHON_DEFAULT_RELATIVE_PATH)
else ()
if ("${LLDB_PYTHON_RELATIVE_PATH}" STREQUAL "")
message(FATAL_ERROR
"Crosscompiling LLDB with Python requires manually setting
LLDB_PYTHON_RELATIVE_PATH.")
endif ()
endif ()
set(LLDB_PYTHON_RELATIVE_PATH ${LLDB_PYTHON_DEFAULT_RELATIVE_PATH}
CACHE STRING "Path where Python modules are installed, relative to install prefix")
endif ()
if (LLDB_ENABLE_PYTHON OR LLDB_ENABLE_LUA OR LLDB_ENABLE_JAVA)
add_subdirectory(bindings)
endif ()
# We need the headers generated by instrinsics_gen before we can compile
# any source file in LLDB as the imported Clang modules might include
# some of these generated headers. This approach is copied from Clang's main
# CMakeLists.txt, so it should kept in sync the code in Clang which was added
# in llvm-svn 308844.
if(LLVM_ENABLE_MODULES)
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
endif()
if(CMAKE_CROSSCOMPILING AND LLDB_BUILT_STANDALONE)
set(LLVM_USE_HOST_TOOLS ON)
include(CrossCompile)
if (NOT NATIVE_LLVM_DIR OR NOT NATIVE_Clang_DIR)
message(FATAL_ERROR
"Crosscompiling standalone requires the variables NATIVE_{CLANG,LLVM}_DIR
for building the native lldb-tblgen used during the build process.")
endif()
llvm_create_cross_target(lldb NATIVE "" Release
-DLLVM_DIR=${NATIVE_LLVM_DIR}
-DClang_DIR=${NATIVE_Clang_DIR})
endif()
# TableGen
add_subdirectory(utils/TableGen)
add_subdirectory(source)
add_subdirectory(tools)
add_subdirectory(docs)
if (LLDB_ENABLE_PYTHON)
if(LLDB_BUILD_FRAMEWORK)
set(lldb_python_target_dir "${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework/Resources/Python/lldb")
else()
set(lldb_python_target_dir "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb")
endif()
get_target_property(lldb_python_bindings_dir swig_wrapper_python BINARY_DIR)
finish_swig_python("lldb-python" "${lldb_python_bindings_dir}" "${lldb_python_target_dir}")
endif()
option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." ${LLVM_INCLUDE_TESTS})
if(LLDB_INCLUDE_TESTS)
add_subdirectory(test)
add_subdirectory(unittests)
add_subdirectory(utils)
endif()
if(LLDB_BUILT_STANDALONE AND NOT LLVM_ENABLE_IDE)
llvm_distribution_add_targets()
endif()

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,48 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
file(GLOB SWIG_INTERFACES interface/*.i)
file(GLOB_RECURSE SWIG_SOURCES *.swig)
file(GLOB SWIG_HEADERS
${LLDB_SOURCE_DIR}/include/lldb/API/*.h
${LLDB_SOURCE_DIR}/include/lldb/*.h
)
file(GLOB SWIG_PRIVATE_HEADERS
${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h
)
foreach(private_header ${SWIG_PRIVATE_HEADERS})
list(REMOVE_ITEM SWIG_HEADERS ${private_header})
endforeach()
if(LLDB_BUILD_FRAMEWORK)
set(framework_arg --framework --target-platform Darwin)
endif()
if(APPLE)
set(DARWIN_EXTRAS "-D__APPLE__")
else()
set(DARWIN_EXTRAS "")
endif()
set(SWIG_COMMON_FLAGS
-c++
-features autodoc
-I${LLDB_SOURCE_DIR}/include
-I${CMAKE_CURRENT_SOURCE_DIR}
-D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS
${DARWIN_EXTRAS}
)
if (LLDB_ENABLE_PYTHON)
add_subdirectory(python)
endif()
if (LLDB_ENABLE_LUA)
add_subdirectory(lua)
endif()
if (LLDB_ENABLE_JAVA)
add_subdirectory(java)
endif()

View File

@ -0,0 +1,23 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapJava.cpp
DEPENDS ${SWIG_SOURCES}
DEPENDS ${SWIG_INTERFACES}
DEPENDS ${SWIG_HEADERS}
COMMAND ${SWIG_EXECUTABLE}
${SWIG_COMMON_FLAGS}
-I${CMAKE_CURRENT_SOURCE_DIR}
-java
-package SWIG
-c++
-outdir ${CMAKE_CURRENT_BINARY_DIR}
-o ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapJava.cpp
${CMAKE_CURRENT_SOURCE_DIR}/java.swig
VERBATIM
COMMENT "Building LLDB Java wrapper")
add_custom_target(swig_wrapper_java ALL DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapJava.cpp
)

View File

@ -0,0 +1,21 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
%include <typemaps.i>
%include <carrays.i>
%include <various.i>
%typemap(javabase) ByteArray "SWIGTYPE_p_void"
%typemap(javabody) ByteArray %{
private long swigCPtr; // Minor bodge to work around private variable in parent
private boolean swigCMemOwn;
public $javaclassname(long cPtr, boolean cMemoryOwn) {
super(cPtr, cMemoryOwn);
this.swigCPtr = SWIGTYPE_p_void.getCPtr(this);
swigCMemOwn = cMemoryOwn;
}
%}
%array_class(jbyte, ByteArray);
%apply char **STRING_ARRAY { char ** }

View File

@ -0,0 +1,25 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
/*
lldb.swig
This is the input file for SWIG, to create the appropriate C++ wrappers and
functions for various scripting languages, to enable them to call the
liblldb Script Bridge functions.
*/
%module lldb
%include <std_string.i>
%include "java-typemaps.swig"
%include "macros.swig"
%include "headers.swig"
%{
using namespace lldb_private;
using namespace lldb;
%}
%include "interfaces.swig"
//%include "lua-wrapper.swig"

View File

@ -0,0 +1,32 @@
#.rst:
# FindJavaAndSwig
# --------------
#
# Find Java and SWIG as a whole.
#if(JAVA_LIBRARIES AND JAVA_INCLUDE_DIR AND SWIG_EXECUTABLE)
if(SWIG_EXECUTABLE)
set(JAVAANDSWIG_FOUND TRUE)
else()
find_package(SWIG 2.0)
if (SWIG_FOUND)
find_package(Java 11.0)
if(JAVA_FOUND AND SWIG_FOUND)
mark_as_advanced(
JAVA_LIBRARIES
JAVA_INCLUDE_DIR
SWIG_EXECUTABLE)
endif()
else()
message(STATUS "SWIG 2 or later is required for Java support in LLDB but could not be found")
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(JavaAndSwig
FOUND_VAR
JAVAANDSWIG_FOUND
REQUIRED_VARS
JAVA_LIBRARIES
JAVA_INCLUDE_DIR
SWIG_EXECUTABLE)
endif()

View File

@ -0,0 +1,319 @@
include(CheckCXXSymbolExists)
include(CheckTypeSize)
set(LLDB_PROJECT_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
set(LLDB_SOURCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/source")
set(LLDB_INCLUDE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/include")
set(LLDB_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(LLDB_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
message(FATAL_ERROR
"In-source builds are not allowed. CMake would overwrite the makefiles "
"distributed with LLDB. Please create a directory and run cmake from "
"there, passing the path to this source directory as the last argument. "
"This process created the file `CMakeCache.txt' and the directory "
"`CMakeFiles'. Please delete them.")
endif()
set(LLDB_LINKER_SUPPORTS_GROUPS OFF)
if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
# The Darwin linker doesn't understand --start-group/--end-group.
set(LLDB_LINKER_SUPPORTS_GROUPS ON)
endif()
macro(add_optional_dependency variable description package found)
cmake_parse_arguments(ARG
""
"VERSION"
""
${ARGN})
set(${variable} "Auto" CACHE STRING "${description} On, Off or Auto (default)")
string(TOUPPER "${${variable}}" ${variable})
if("${${variable}}" STREQUAL "AUTO")
set(find_package TRUE)
set(maybe_required)
elseif(${${variable}})
set(find_package TRUE)
set(maybe_required REQUIRED)
else()
set(find_package FALSE)
set(${variable} FALSE)
endif()
if(${find_package})
find_package(${package} ${ARG_VERSION} ${maybe_required})
set(${variable} "${${found}}")
endif()
message(STATUS "${description}: ${${variable}}")
endmacro()
add_optional_dependency(LLDB_ENABLE_LIBEDIT "Enable editline support in LLDB" LibEdit LibEdit_FOUND)
add_optional_dependency(LLDB_ENABLE_CURSES "Enable curses support in LLDB" CursesAndPanel CURSESANDPANEL_FOUND)
add_optional_dependency(LLDB_ENABLE_LZMA "Enable LZMA compression support in LLDB" LibLZMA LIBLZMA_FOUND)
add_optional_dependency(LLDB_ENABLE_LUA "Enable Lua scripting support in LLDB" LuaAndSwig LUAANDSWIG_FOUND)
add_optional_dependency(LLDB_ENABLE_JAVA "Enable Java scripting support in LLDB" JavaAndSwig JAVAANDSWIG_FOUND)
add_optional_dependency(LLDB_ENABLE_PYTHON "Enable Python scripting support in LLDB" PythonAndSwig PYTHONANDSWIG_FOUND)
add_optional_dependency(LLDB_ENABLE_LIBXML2 "Enable Libxml 2 support in LLDB" LibXml2 LIBXML2_FOUND VERSION 2.8)
option(LLDB_USE_SYSTEM_SIX "Use six.py shipped with system and do not install a copy of it" OFF)
option(LLDB_USE_ENTITLEMENTS "When codesigning, use entitlements if available" ON)
option(LLDB_BUILD_FRAMEWORK "Build LLDB.framework (Darwin only)" OFF)
option(LLDB_NO_INSTALL_DEFAULT_RPATH "Disable default RPATH settings in binaries" OFF)
option(LLDB_USE_SYSTEM_DEBUGSERVER "Use the system's debugserver for testing (Darwin only)." OFF)
option(LLDB_SKIP_STRIP "Whether to skip stripping of binaries when installing lldb." OFF)
option(LLDB_SKIP_DSYM "Whether to skip generating a dSYM when installing lldb." OFF)
if (LLDB_USE_SYSTEM_DEBUGSERVER)
# The custom target for the system debugserver has no install target, so we
# need to remove it from the LLVM_DISTRIBUTION_COMPONENTS list.
if (LLVM_DISTRIBUTION_COMPONENTS)
list(REMOVE_ITEM LLVM_DISTRIBUTION_COMPONENTS debugserver)
set(LLVM_DISTRIBUTION_COMPONENTS ${LLVM_DISTRIBUTION_COMPONENTS} CACHE STRING "" FORCE)
endif()
endif()
if(LLDB_BUILD_FRAMEWORK)
if(NOT APPLE)
message(FATAL_ERROR "LLDB.framework can only be generated when targeting Apple platforms")
endif()
set(LLDB_FRAMEWORK_VERSION A CACHE STRING "LLDB.framework version (default is A)")
set(LLDB_FRAMEWORK_BUILD_DIR bin CACHE STRING "Output directory for LLDB.framework")
set(LLDB_FRAMEWORK_INSTALL_DIR Library/Frameworks CACHE STRING "Install directory for LLDB.framework")
get_filename_component(LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR ${LLDB_FRAMEWORK_BUILD_DIR} ABSOLUTE
BASE_DIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR})
# Essentially, emit the framework's dSYM outside of the framework directory.
set(LLDB_DEBUGINFO_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin CACHE STRING
"Directory to emit dSYM files stripped from executables and libraries (Darwin Only)")
endif()
if(APPLE AND CMAKE_GENERATOR STREQUAL Xcode)
if(NOT LLDB_EXPLICIT_XCODE_CACHE_USED)
message(WARNING
"When building with Xcode, we recommend using the corresponding cache script. "
"If this was a mistake, clean your build directory and re-run CMake with:\n"
" -C ${CMAKE_SOURCE_DIR}/cmake/caches/Apple-lldb-Xcode.cmake\n"
"See: https://lldb.llvm.org/resources/build.html#cmakegeneratedxcodeproject\n")
endif()
endif()
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
set(LLDB_EXPORT_ALL_SYMBOLS 0 CACHE BOOL
"Causes lldb to export all symbols when building liblldb.")
else()
# Windows doesn't support toggling this, so don't bother making it a
# cache variable.
set(LLDB_EXPORT_ALL_SYMBOLS 0)
endif()
if ((NOT MSVC) OR MSVC12)
add_definitions( -DHAVE_ROUND )
endif()
# Check if we libedit capable of handling wide characters (built with
# '--enable-widec').
if (LLDB_ENABLE_LIBEDIT)
set(CMAKE_REQUIRED_LIBRARIES ${LibEdit_LIBRARIES})
set(CMAKE_REQUIRED_INCLUDES ${LibEdit_INCLUDE_DIRS})
check_symbol_exists(el_winsertstr histedit.h LLDB_EDITLINE_USE_WCHAR)
set(CMAKE_EXTRA_INCLUDE_FILES histedit.h)
check_type_size(el_rfunc_t LLDB_EL_RFUNC_T_SIZE)
if (LLDB_EL_RFUNC_T_SIZE STREQUAL "")
set(LLDB_HAVE_EL_RFUNC_T 0)
else()
set(LLDB_HAVE_EL_RFUNC_T 1)
endif()
set(CMAKE_REQUIRED_LIBRARIES)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_EXTRA_INCLUDE_FILES)
endif()
if (LLDB_ENABLE_PYTHON)
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
set(default_embed_python_home ON)
else()
set(default_embed_python_home OFF)
endif()
option(LLDB_EMBED_PYTHON_HOME
"Embed PYTHONHOME in the binary. If set to OFF, PYTHONHOME environment variable will be used to to locate Python."
${default_embed_python_home})
include_directories(${Python3_INCLUDE_DIRS})
if (LLDB_EMBED_PYTHON_HOME)
get_filename_component(PYTHON_HOME "${Python3_EXECUTABLE}" DIRECTORY)
set(LLDB_PYTHON_HOME "${PYTHON_HOME}" CACHE STRING
"Path to use as PYTHONHOME in lldb. If a relative path is specified, it will be resolved at runtime relative to liblldb directory.")
endif()
endif()
if (LLVM_EXTERNAL_CLANG_SOURCE_DIR)
include_directories(${LLVM_EXTERNAL_CLANG_SOURCE_DIR}/include)
else ()
include_directories(${CMAKE_SOURCE_DIR}/tools/clang/include)
endif ()
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../clang/include")
# Disable GCC warnings
check_cxx_compiler_flag("-Wno-deprecated-declarations" CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS)
append_if(CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS "-Wno-deprecated-declarations" CMAKE_CXX_FLAGS)
check_cxx_compiler_flag("-Wno-unknown-pragmas" CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS)
append_if(CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS "-Wno-unknown-pragmas" CMAKE_CXX_FLAGS)
check_cxx_compiler_flag("-Wno-strict-aliasing" CXX_SUPPORTS_NO_STRICT_ALIASING)
append_if(CXX_SUPPORTS_NO_STRICT_ALIASING "-Wno-strict-aliasing" CMAKE_CXX_FLAGS)
# Disable Clang warnings
check_cxx_compiler_flag("-Wno-deprecated-register" CXX_SUPPORTS_NO_DEPRECATED_REGISTER)
append_if(CXX_SUPPORTS_NO_DEPRECATED_REGISTER "-Wno-deprecated-register" CMAKE_CXX_FLAGS)
check_cxx_compiler_flag("-Wno-vla-extension" CXX_SUPPORTS_NO_VLA_EXTENSION)
append_if(CXX_SUPPORTS_NO_VLA_EXTENSION "-Wno-vla-extension" CMAKE_CXX_FLAGS)
# Disable MSVC warnings
if( MSVC )
add_definitions(
-wd4018 # Suppress 'warning C4018: '>=' : signed/unsigned mismatch'
-wd4068 # Suppress 'warning C4068: unknown pragma'
-wd4150 # Suppress 'warning C4150: deletion of pointer to incomplete type'
-wd4201 # Suppress 'warning C4201: nonstandard extension used: nameless struct/union'
-wd4251 # Suppress 'warning C4251: T must have dll-interface to be used by clients of class U.'
-wd4521 # Suppress 'warning C4521: 'type' : multiple copy constructors specified'
-wd4530 # Suppress 'warning C4530: C++ exception handler used, but unwind semantics are not enabled.'
)
endif()
# Use the Unicode (UTF-16) APIs by default on Win32
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions( -D_UNICODE -DUNICODE )
endif()
# If LLDB_VERSION_* is specified, use it, if not use LLVM_VERSION_*.
if(NOT DEFINED LLDB_VERSION_MAJOR)
set(LLDB_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
endif()
if(NOT DEFINED LLDB_VERSION_MINOR)
set(LLDB_VERSION_MINOR ${LLVM_VERSION_MINOR})
endif()
if(NOT DEFINED LLDB_VERSION_PATCH)
set(LLDB_VERSION_PATCH ${LLVM_VERSION_PATCH})
endif()
if(NOT DEFINED LLDB_VERSION_SUFFIX)
set(LLDB_VERSION_SUFFIX ${LLVM_VERSION_SUFFIX})
endif()
set(LLDB_VERSION "${LLDB_VERSION_MAJOR}.${LLDB_VERSION_MINOR}.${LLDB_VERSION_PATCH}${LLDB_VERSION_SUFFIX}")
message(STATUS "LLDB version: ${LLDB_VERSION}")
if (LLDB_ENABLE_LZMA)
include_directories(${LIBLZMA_INCLUDE_DIRS})
endif()
if (LLDB_ENABLE_LIBXML2)
include_directories(${LIBXML2_INCLUDE_DIR})
endif()
include_directories(BEFORE
${CMAKE_CURRENT_BINARY_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/include
)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
install(DIRECTORY include/
COMPONENT lldb-headers
DESTINATION include
FILES_MATCHING
PATTERN "*.h"
PATTERN ".cmake" EXCLUDE
)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
COMPONENT lldb-headers
DESTINATION include
FILES_MATCHING
PATTERN "*.h"
PATTERN ".cmake" EXCLUDE
)
add_custom_target(lldb-headers)
set_target_properties(lldb-headers PROPERTIES FOLDER "lldb misc")
if (NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-lldb-headers
COMPONENT lldb-headers)
endif()
endif()
# If LLDB is building against a prebuilt Clang, then the Clang resource
# directory that LLDB is using for its embedded Clang instance needs to point
# to the resource directory of the used Clang installation.
if (NOT TARGET clang-resource-headers)
set(LLDB_CLANG_RESOURCE_DIR_NAME "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
# Iterate over the possible places where the external resource directory
# could be and pick the first that exists.
foreach(CANDIDATE "${Clang_DIR}/../.." "${LLVM_DIR}" "${LLVM_LIBRARY_DIRS}"
"${LLVM_BUILD_LIBRARY_DIR}"
"${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}")
# Build the resource directory path by appending 'clang/<version number>'.
set(CANDIDATE_RESOURCE_DIR "${CANDIDATE}/clang/${LLDB_CLANG_RESOURCE_DIR_NAME}")
if (IS_DIRECTORY "${CANDIDATE_RESOURCE_DIR}")
set(LLDB_EXTERNAL_CLANG_RESOURCE_DIR "${CANDIDATE_RESOURCE_DIR}")
break()
endif()
endforeach()
if (NOT LLDB_EXTERNAL_CLANG_RESOURCE_DIR)
message(FATAL_ERROR "Expected directory for clang-resource headers not found: ${LLDB_EXTERNAL_CLANG_RESOURCE_DIR}")
endif()
endif()
# Find Apple-specific libraries or frameworks that may be needed.
if (APPLE)
if(NOT APPLE_EMBEDDED)
find_library(CARBON_LIBRARY Carbon)
find_library(CORE_SERVICES_LIBRARY CoreServices)
endif()
find_library(FOUNDATION_LIBRARY Foundation)
find_library(CORE_FOUNDATION_LIBRARY CoreFoundation)
find_library(SECURITY_LIBRARY Security)
include_directories(${LIBXML2_INCLUDE_DIR})
endif()
if( WIN32 AND NOT CYGWIN )
set(PURE_WINDOWS 1)
endif()
if(NOT PURE_WINDOWS)
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
find_package(Threads REQUIRED)
endif()
# Figure out if lldb could use lldb-server. If so, then we'll
# ensure we build lldb-server when an lldb target is being built.
if (CMAKE_SYSTEM_NAME MATCHES "Android|Darwin|FreeBSD|Linux|NetBSD|Windows")
set(LLDB_CAN_USE_LLDB_SERVER ON)
else()
set(LLDB_CAN_USE_LLDB_SERVER OFF)
endif()
# Figure out if lldb could use debugserver. If so, then we'll
# ensure we build debugserver when we build lldb.
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
set(LLDB_CAN_USE_DEBUGSERVER ON)
else()
set(LLDB_CAN_USE_DEBUGSERVER OFF)
endif()
if ((CMAKE_SYSTEM_NAME MATCHES "Android") AND LLVM_BUILD_STATIC AND
((ANDROID_ABI MATCHES "armeabi") OR (ANDROID_ABI MATCHES "mips")))
add_definitions(-DANDROID_USE_ACCEPT_WORKAROUND)
endif()
include(LLDBGenerateConfig)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
/*
* @(#)jni_md.h 1.19 05/11/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
#ifndef _JAVASOFT_JNI_MD_H_
#define _JAVASOFT_JNI_MD_H_
#define JNIEXPORT __attribute__((visibility("default")))
#define JNIIMPORT
#define JNICALL
#if defined(__LP64__) && __LP64__ /* for -Wundef */
typedef int jint;
#else
typedef long jint;
#endif
typedef long long jlong;
typedef signed char jbyte;
#endif /* !_JAVASOFT_JNI_MD_H_ */

View File

@ -0,0 +1,64 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
//===-- Config.h -----------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_HOST_CONFIG_H
#define LLDB_HOST_CONFIG_H
#cmakedefine01 LLDB_EDITLINE_USE_WCHAR
#cmakedefine01 LLDB_HAVE_EL_RFUNC_T
#cmakedefine01 HAVE_SYS_TYPES_H
#cmakedefine01 HAVE_SYS_EVENT_H
#cmakedefine01 HAVE_PPOLL
#cmakedefine01 HAVE_PTSNAME_R
#cmakedefine01 HAVE_SIGACTION
#cmakedefine01 HAVE_PROCESS_VM_READV
#cmakedefine01 HAVE_NR_PROCESS_VM_READV
#ifndef HAVE_LIBCOMPRESSION
#cmakedefine HAVE_LIBCOMPRESSION
#endif
#cmakedefine01 LLDB_ENABLE_POSIX
#cmakedefine01 LLDB_ENABLE_TERMIOS
#cmakedefine01 LLDB_ENABLE_LZMA
#cmakedefine01 LLDB_ENABLE_CURSES
#cmakedefine01 CURSES_HAVE_NCURSES_CURSES_H
#cmakedefine01 LLDB_ENABLE_LIBEDIT
#cmakedefine01 LLDB_ENABLE_LIBXML2
#cmakedefine01 LLDB_ENABLE_LUA
#cmakedefine01 LLDB_ENABLE_PYTHON
#cmakedefine01 LLDB_ENABLE_JAVA
#cmakedefine01 LLDB_EMBED_PYTHON_HOME
#cmakedefine LLDB_PYTHON_HOME R"(${LLDB_PYTHON_HOME})"
#define LLDB_LIBDIR_SUFFIX "${LLVM_LIBDIR_SUFFIX}"
#endif // #ifndef LLDB_HOST_CONFIG_H

View File

@ -0,0 +1,247 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
add_definitions( -DEXPORT_LIBLLDB )
endif()
get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
if(LLDB_BUILD_FRAMEWORK)
set(option_install_prefix INSTALL_PREFIX ${LLDB_FRAMEWORK_INSTALL_DIR})
set(option_framework FRAMEWORK)
endif()
if(LLDB_ENABLE_PYTHON)
get_target_property(python_bindings_dir swig_wrapper_python BINARY_DIR)
set(lldb_python_wrapper ${python_bindings_dir}/LLDBWrapPython.cpp)
endif()
if(LLDB_ENABLE_LUA)
get_target_property(lua_bindings_dir swig_wrapper_lua BINARY_DIR)
set(lldb_lua_wrapper ${lua_bindings_dir}/LLDBWrapLua.cpp)
endif()
if(LLDB_ENABLE_JAVA)
get_target_property(java_bindings_dir swig_wrapper_java BINARY_DIR)
set(lldb_java_wrapper ${java_bindings_dir}/LLDBWrapJava.cpp)
endif()
add_lldb_library(liblldb SHARED ${option_framework}
SBAddress.cpp
SBAttachInfo.cpp
SBBlock.cpp
SBBreakpoint.cpp
SBBreakpointLocation.cpp
SBBreakpointName.cpp
SBBreakpointOptionCommon.cpp
SBBroadcaster.cpp
SBCommandInterpreter.cpp
SBCommandInterpreterRunOptions.cpp
SBCommandReturnObject.cpp
SBCommunication.cpp
SBCompileUnit.cpp
SBData.cpp
SBDebugger.cpp
SBDeclaration.cpp
SBEnvironment.cpp
SBError.cpp
SBEvent.cpp
SBExecutionContext.cpp
SBExpressionOptions.cpp
SBFileSpec.cpp
SBFile.cpp
SBFileSpecList.cpp
SBFrame.cpp
SBFunction.cpp
SBHostOS.cpp
SBInstruction.cpp
SBInstructionList.cpp
SBLanguageRuntime.cpp
SBLaunchInfo.cpp
SBLineEntry.cpp
SBListener.cpp
SBMemoryRegionInfo.cpp
SBMemoryRegionInfoList.cpp
SBModule.cpp
SBModuleSpec.cpp
SBPlatform.cpp
SBProcess.cpp
SBProcessInfo.cpp
SBQueue.cpp
SBQueueItem.cpp
SBReproducer.cpp
SBSection.cpp
SBSourceManager.cpp
SBStream.cpp
SBStringList.cpp
SBStructuredData.cpp
SBSymbol.cpp
SBSymbolContext.cpp
SBSymbolContextList.cpp
SBTarget.cpp
SBThread.cpp
SBThreadCollection.cpp
SBThreadPlan.cpp
SBTrace.cpp
SBTraceOptions.cpp
SBType.cpp
SBTypeCategory.cpp
SBTypeEnumMember.cpp
SBTypeFilter.cpp
SBTypeFormat.cpp
SBTypeNameSpecifier.cpp
SBTypeSummary.cpp
SBTypeSynthetic.cpp
SBValue.cpp
SBValueList.cpp
SBVariablesOptions.cpp
SBWatchpoint.cpp
SBUnixSignals.cpp
SystemInitializerFull.cpp
${lldb_python_wrapper}
${lldb_lua_wrapper}
${lldb_java_wrapper}
LINK_LIBS
lldbBase
lldbBreakpoint
lldbCore
lldbDataFormatters
lldbExpression
lldbHost
lldbInitialization
lldbInterpreter
lldbSymbol
lldbTarget
lldbUtility
${LLDB_ALL_PLUGINS}
LINK_COMPONENTS
Support
${option_install_prefix}
)
# lib/pythonX.Y/dist-packages/lldb/_lldb.so is a symlink to lib/liblldb.so,
# which depends on lib/libLLVM*.so (BUILD_SHARED_LIBS) or lib/libLLVM-10git.so
# (LLVM_LINK_LLVM_DYLIB). Add an additional rpath $ORIGIN/../../../../lib so
# that _lldb.so can be loaded from Python.
if(LLDB_ENABLE_PYTHON AND (BUILD_SHARED_LIBS OR LLVM_LINK_LLVM_DYLIB) AND UNIX AND NOT APPLE)
set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH "\$ORIGIN/../../../../lib${LLVM_LIBDIR_SUFFIX}")
endif()
if(Python3_RPATH)
set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH "${Python3_RPATH}")
set_property(TARGET liblldb APPEND PROPERTY BUILD_RPATH "${Python3_RPATH}")
endif()
if(LLDB_ENABLE_PYTHON)
add_dependencies(liblldb swig_wrapper_python)
if (MSVC)
set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " /W0")
else()
set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " -w")
endif()
set_source_files_properties(${lldb_python_wrapper} PROPERTIES GENERATED ON)
if (CLANG_CL)
set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING
PROPERTY COMPILE_FLAGS " -Wno-unused-function")
endif()
if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND
NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
set_property(SOURCE ${lldb_python_wrapper} APPEND_STRING
PROPERTY COMPILE_FLAGS " -Wno-sequence-point -Wno-cast-qual")
endif ()
endif()
if(LLDB_ENABLE_LUA)
add_dependencies(liblldb swig_wrapper_lua)
target_include_directories(liblldb PRIVATE ${LUA_INCLUDE_DIR})
if (MSVC)
set_property(SOURCE ${lldb_lua_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " /W0")
else()
set_property(SOURCE ${lldb_lua_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " -w")
endif()
set_source_files_properties(${lldb_lua_wrapper} PROPERTIES GENERATED ON)
endif()
if(LLDB_ENABLE_JAVA)
add_dependencies(liblldb swig_wrapper_java)
target_include_directories(liblldb PRIVATE ${JAVA_INCLUDE_DIR})
target_include_directories(liblldb PRIVATE ${JAVA_INCLUDE_DIR}/darwin)
if (MSVC)
set_property(SOURCE ${lldb_java_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " /W0")
else()
set_property(SOURCE ${lldb_java_wrapper} APPEND_STRING PROPERTY COMPILE_FLAGS " ")
endif()
set_source_files_properties(${lldb_java_wrapper} PROPERTIES GENERATED ON)
endif()
set_target_properties(liblldb
PROPERTIES
VERSION ${LLDB_VERSION}
)
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
if (NOT LLDB_EXPORT_ALL_SYMBOLS)
# If we're not exporting all symbols, we'll want to explicitly set
# the exported symbols here. This prevents 'log enable --stack ...'
# from working on some systems but limits the liblldb size.
MESSAGE("-- Symbols (liblldb): exporting all symbols from the lldb namespace")
add_llvm_symbol_exports(liblldb ${CMAKE_CURRENT_SOURCE_DIR}/liblldb.exports)
else()
# Don't use an explicit export. Instead, tell the linker to
# export all symbols.
MESSAGE("-- Symbols (liblldb): exporting all symbols from the lldb and lldb_private namespaces")
add_llvm_symbol_exports(liblldb ${CMAKE_CURRENT_SOURCE_DIR}/liblldb-private.exports)
endif()
set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc")
endif()
if (MSVC)
# Only MSVC has the ABI compatibility problem and avoids using FindPythonLibs,
# so only it needs to explicitly link against ${Python3_LIBRARIES}
if (LLDB_ENABLE_PYTHON)
target_link_libraries(liblldb PRIVATE ${Python3_LIBRARIES})
endif()
else()
set_target_properties(liblldb
PROPERTIES
OUTPUT_NAME lldb
)
endif()
# The Clang expression parser in LLDB requires the Clang resource directory to function.
if (TARGET clang-resource-headers)
# If building alongside Clang, just add a dependency to ensure it is build together with liblldb.
add_dependencies(liblldb clang-resource-headers)
else()
# In a standalone build create a symlink from the LLDB library directory that points to the
# resource directory in the Clang library directory. LLDB searches relative to its install path,
# and the symlink is created in the same relative path as the resource directory of Clang when
# building alongside Clang.
# When building the LLDB framework, this isn't necessary as there we copy everything we need into
# the framework (including the Clang resourece directory).
if(NOT LLDB_BUILD_FRAMEWORK)
set(LLDB_CLANG_RESOURCE_DIR_PARENT "$<TARGET_FILE_DIR:liblldb>/clang")
file(MAKE_DIRECTORY "${LLDB_CLANG_RESOURCE_DIR_PARENT}")
add_custom_command(TARGET liblldb POST_BUILD
COMMENT "Linking Clang resource dir into LLDB build directory: ${LLDB_CLANG_RESOURCE_DIR_PARENT}"
COMMAND ${CMAKE_COMMAND} -E make_directory "${LLDB_CLANG_RESOURCE_DIR_PARENT}"
COMMAND ${CMAKE_COMMAND} -E create_symlink "${LLDB_EXTERNAL_CLANG_RESOURCE_DIR}"
"${LLDB_CLANG_RESOURCE_DIR_PARENT}/${LLDB_CLANG_RESOURCE_DIR_NAME}"
)
endif()
endif()
if(LLDB_BUILD_FRAMEWORK)
include(LLDBFramework)
endif()

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
_ZN4lldb*
_ZNK4lldb*
_ZN12lldb_private*
_ZNK12lldb_private*
Java*

View File

@ -0,0 +1,8 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
_ZN4lldb*
_ZNK4lldb*
_ZN12lldb_private*
_ZNK12lldb_private*
Java*

View File

@ -0,0 +1,17 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
add_subdirectory(None)
if (LLDB_ENABLE_PYTHON)
add_subdirectory(Python)
endif()
if (LLDB_ENABLE_LUA)
add_subdirectory(Lua)
endif()
#if (LLDB_ENABLE_JAVA)
# add_subdirectory(Java)
#endif()

View File

@ -0,0 +1,16 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
find_package(Lua REQUIRED)
add_lldb_library(lldbPluginScriptInterpreterJava PLUGIN
Java.cpp
ScriptInterpreterJava.cpp
LINK_LIBS
lldbCore
lldbInterpreter
)
target_include_directories(lldbPluginScriptInterpreterJava PUBLIC ${JAVA_INCLUDE_DIR})
target_link_libraries(lldbPluginScriptInterpreterJava INTERFACE ${JAVA_LIBRARIES})

View File

@ -0,0 +1,170 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
//===-- Java.cpp -----------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "Java.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Utility/FileSpec.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
using namespace lldb_private;
using namespace lldb;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
// Disable warning C4190: 'LLDBSwigPythonBreakpointCallbackFunction' has
// C-linkage specified, but returns UDT 'llvm::Expected<bool>' which is
// incompatible with C
#if _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4190)
#endif
extern "C" llvm::Expected<bool>
LLDBSwigJavaBreakpointCallbackFunction(java_State *L,
lldb::StackFrameSP stop_frame_sp,
lldb::BreakpointLocationSP bp_loc_sp);
#if _MSC_VER
#pragma warning (pop)
#endif
#pragma clang diagnostic pop
static int lldb_print(java_State *L) {
int n = java_gettop(L);
java_getglobal(L, "io");
java_getfield(L, -1, "stdout");
java_getfield(L, -1, "write");
for (int i = 1; i <= n; i++) {
java_pushvalue(L, -1); // write()
java_pushvalue(L, -3); // io.stdout
javaL_tolstring(L, i, nullptr);
java_pushstring(L, i != n ? "\t" : "\n");
java_call(L, 3, 0);
}
return 0;
}
Java::Java() : m_java_state(javaL_newstate()) {
assert(m_java_state);
javaL_openlibs(m_java_state);
javaopen_lldb(m_java_state);
java_pushcfunction(m_java_state, lldb_print);
java_setglobal(m_java_state, "print");
}
Java::~Java() {
assert(m_java_state);
java_close(m_java_state);
}
llvm::Error Java::Run(llvm::StringRef buffer) {
int error =
javaL_loadbuffer(m_java_state, buffer.data(), buffer.size(), "buffer") ||
java_pcall(m_java_state, 0, 0, 0);
if (error == JAVA_OK)
return llvm::Error::success();
llvm::Error e = llvm::make_error<llvm::StringError>(
llvm::formatv("{0}\n", java_tostring(m_java_state, -1)),
llvm::inconvertibleErrorCode());
// Pop error message from the stack.
java_pop(m_java_state, 1);
return e;
}
llvm::Error Java::RegisterBreakpointCallback(void *baton, const char *body) {
java_pushlightuserdata(m_java_state, baton);
const char *fmt_str = "return function(frame, bp_loc, ...) {0} end";
std::string func_str = llvm::formatv(fmt_str, body).str();
if (javaL_dostring(m_java_state, func_str.c_str()) != JAVA_OK) {
llvm::Error e = llvm::make_error<llvm::StringError>(
llvm::formatv("{0}", java_tostring(m_java_state, -1)),
llvm::inconvertibleErrorCode());
// Pop error message from the stack.
java_pop(m_java_state, 2);
return e;
}
java_settable(m_java_state, JAVA_REGISTRYINDEX);
return llvm::Error::success();
}
llvm::Expected<bool>
Java::CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp,
lldb::BreakpointLocationSP bp_loc_sp) {
java_pushlightuserdata(m_java_state, baton);
java_gettable(m_java_state, JAVA_REGISTRYINDEX);
return LLDBSwigJavaBreakpointCallbackFunction(m_java_state, stop_frame_sp,
bp_loc_sp);
}
llvm::Error Java::LoadModule(llvm::StringRef filename) {
FileSpec file(filename);
if (!FileSystem::Instance().Exists(file)) {
return llvm::make_error<llvm::StringError>("invalid path",
llvm::inconvertibleErrorCode());
}
ConstString module_extension = file.GetFileNameExtension();
if (module_extension != ".java") {
return llvm::make_error<llvm::StringError>("invalid extension",
llvm::inconvertibleErrorCode());
}
int error = javaL_loadfile(m_java_state, filename.data()) ||
java_pcall(m_java_state, 0, 1, 0);
if (error != JAVA_OK) {
llvm::Error e = llvm::make_error<llvm::StringError>(
llvm::formatv("{0}\n", java_tostring(m_java_state, -1)),
llvm::inconvertibleErrorCode());
// Pop error message from the stack.
java_pop(m_java_state, 1);
return e;
}
ConstString module_name = file.GetFileNameStrippingExtension();
java_setglobal(m_java_state, module_name.GetCString());
return llvm::Error::success();
}
llvm::Error Java::ChangeIO(FILE *out, FILE *err) {
assert(out != nullptr);
assert(err != nullptr);
java_getglobal(m_java_state, "io");
java_getfield(m_java_state, -1, "stdout");
if (javaL_Stream *s = static_cast<javaL_Stream *>(
javaL_testudata(m_java_state, -1, JAVA_FILEHANDLE))) {
s->f = out;
java_pop(m_java_state, 1);
} else {
java_pop(m_java_state, 2);
return llvm::make_error<llvm::StringError>("could not get stdout",
llvm::inconvertibleErrorCode());
}
java_getfield(m_java_state, -1, "stderr");
if (javaL_Stream *s = static_cast<javaL_Stream *>(
javaL_testudata(m_java_state, -1, JAVA_FILEHANDLE))) {
s->f = out;
java_pop(m_java_state, 1);
} else {
java_pop(m_java_state, 2);
return llvm::make_error<llvm::StringError>("could not get stderr",
llvm::inconvertibleErrorCode());
}
java_pop(m_java_state, 1);
return llvm::Error::success();
}

View File

@ -0,0 +1,50 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
//===-- ScriptInterpreterJava.h ----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef liblldb_Java_h_
#define liblldb_Java_h_
#include "lldb/API/SBBreakpointLocation.h"
#include "lldb/API/SBFrame.h"
#include "lldb/lldb-types.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
//#include "java.hpp"
#include <mutex>
namespace lldb_private {
extern "C" {
int javaopen_lldb(java_State *L);
}
class Java {
public:
Java();
~Java();
llvm::Error Run(llvm::StringRef buffer);
llvm::Error RegisterBreakpointCallback(void *baton, const char *body);
llvm::Expected<bool>
CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp,
lldb::BreakpointLocationSP bp_loc_sp);
llvm::Error LoadModule(llvm::StringRef filename);
llvm::Error ChangeIO(FILE *out, FILE *err);
private:
java_State *m_java_state;
};
} // namespace lldb_private
#endif // liblldb_Java_h_

View File

@ -0,0 +1,246 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
//===-- ScriptInterpreterJava.cpp ------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "ScriptInterpreterJava.h"
#include "Java.h"
#include "lldb/Breakpoint/StoppointCallbackContext.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/StreamFile.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/StringList.h"
#include "lldb/Utility/Timer.h"
#include "llvm/Support/FormatAdapters.h"
#include <memory>
using namespace lldb;
using namespace lldb_private;
LLDB_PLUGIN_DEFINE(ScriptInterpreterJava)
class IOHandlerJavaInterpreter : public IOHandlerDelegate,
public IOHandlerEditline {
public:
IOHandlerJavaInterpreter(Debugger &debugger,
ScriptInterpreterJava &script_interpreter)
: IOHandlerEditline(debugger, IOHandler::Type::JavaInterpreter, "java",
">>> ", "..> ", true, debugger.GetUseColor(), 0,
*this, nullptr),
m_script_interpreter(script_interpreter) {
llvm::cantFail(m_script_interpreter.GetJava().ChangeIO(
debugger.GetOutputFile().GetStream(),
debugger.GetErrorFile().GetStream()));
llvm::cantFail(m_script_interpreter.EnterSession(debugger.GetID()));
}
~IOHandlerJavaInterpreter() override {
llvm::cantFail(m_script_interpreter.LeaveSession());
}
void IOHandlerInputComplete(IOHandler &io_handler,
std::string &data) override {
if (llvm::StringRef(data).rtrim() == "quit") {
io_handler.SetIsDone(true);
return;
}
if (llvm::Error error = m_script_interpreter.GetJava().Run(data)) {
*GetOutputStreamFileSP() << llvm::toString(std::move(error));
}
}
private:
ScriptInterpreterJava &m_script_interpreter;
};
ScriptInterpreterJava::ScriptInterpreterJava(Debugger &debugger)
: ScriptInterpreter(debugger, eScriptLanguageJava),
m_java(std::make_unique<Java>()) {}
ScriptInterpreterJava::~ScriptInterpreterJava() {}
bool ScriptInterpreterJava::ExecuteOneLine(llvm::StringRef command,
CommandReturnObject *result,
const ExecuteScriptOptions &options) {
if (command.empty()) {
if (result)
result->AppendError("empty command passed to java\n");
return false;
}
llvm::Expected<std::unique_ptr<ScriptInterpreterIORedirect>>
io_redirect_or_error = ScriptInterpreterIORedirect::Create(
options.GetEnableIO(), m_debugger, result);
if (!io_redirect_or_error) {
if (result)
result->AppendErrorWithFormatv(
"failed to redirect I/O: {0}\n",
llvm::fmt_consume(io_redirect_or_error.takeError()));
else
llvm::consumeError(io_redirect_or_error.takeError());
return false;
}
ScriptInterpreterIORedirect &io_redirect = **io_redirect_or_error;
if (llvm::Error e =
m_java->ChangeIO(io_redirect.GetOutputFile()->GetStream(),
io_redirect.GetErrorFile()->GetStream())) {
result->AppendErrorWithFormatv("java failed to redirect I/O: {0}\n",
llvm::toString(std::move(e)));
return false;
}
if (llvm::Error e = m_java->Run(command)) {
result->AppendErrorWithFormatv(
"java failed attempting to evaluate '{0}': {1}\n", command,
llvm::toString(std::move(e)));
return false;
}
io_redirect.Flush();
return true;
}
void ScriptInterpreterJava::ExecuteInterpreterLoop() {
static Timer::Category func_cat(LLVM_PRETTY_FUNCTION);
Timer scoped_timer(func_cat, LLVM_PRETTY_FUNCTION);
// At the moment, the only time the debugger does not have an input file
// handle is when this is called directly from java, in which case it is
// both dangerous and unnecessary (not to mention confusing) to try to embed
// a running interpreter loop inside the already running java interpreter
// loop, so we won't do it.
if (!m_debugger.GetInputFile().IsValid())
return;
IOHandlerSP io_handler_sp(new IOHandlerJavaInterpreter(m_debugger, *this));
m_debugger.RunIOHandlerAsync(io_handler_sp);
}
bool ScriptInterpreterJava::LoadScriptingModule(
const char *filename, bool init_session, lldb_private::Status &error,
StructuredData::ObjectSP *module_sp, FileSpec extra_search_dir) {
FileSystem::Instance().Collect(filename);
if (llvm::Error e = m_java->LoadModule(filename)) {
error.SetErrorStringWithFormatv("java failed to import '{0}': {1}\n",
filename, llvm::toString(std::move(e)));
return false;
}
return true;
}
void ScriptInterpreterJava::Initialize() {
static llvm::once_flag g_once_flag;
llvm::call_once(g_once_flag, []() {
PluginManager::RegisterPlugin(GetPluginNameStatic(),
GetPluginDescriptionStatic(),
lldb::eScriptLanguageJava, CreateInstance);
});
}
void ScriptInterpreterJava::Terminate() {}
llvm::Error ScriptInterpreterJava::EnterSession(user_id_t debugger_id) {
if (m_session_is_active)
return llvm::Error::success();
const char *fmt_str =
"lldb.debugger = lldb.SBDebugger.FindDebuggerWithID({0}); "
"lldb.target = lldb.debugger:GetSelectedTarget(); "
"lldb.process = lldb.target:GetProcess(); "
"lldb.thread = lldb.process:GetSelectedThread(); "
"lldb.frame = lldb.thread:GetSelectedFrame()";
return m_java->Run(llvm::formatv(fmt_str, debugger_id).str());
}
llvm::Error ScriptInterpreterJava::LeaveSession() {
if (!m_session_is_active)
return llvm::Error::success();
m_session_is_active = false;
llvm::StringRef str = "lldb.debugger = nil; "
"lldb.target = nil; "
"lldb.process = nil; "
"lldb.thread = nil; "
"lldb.frame = nil";
return m_java->Run(str);
}
bool ScriptInterpreterJava::BreakpointCallbackFunction(
void *baton, StoppointCallbackContext *context, user_id_t break_id,
user_id_t break_loc_id) {
assert(context);
ExecutionContext exe_ctx(context->exe_ctx_ref);
Target *target = exe_ctx.GetTargetPtr();
if (target == nullptr)
return true;
StackFrameSP stop_frame_sp(exe_ctx.GetFrameSP());
BreakpointSP breakpoint_sp = target->GetBreakpointByID(break_id);
BreakpointLocationSP bp_loc_sp(breakpoint_sp->FindLocationByID(break_loc_id));
Debugger &debugger = target->GetDebugger();
ScriptInterpreterJava *java_interpreter = static_cast<ScriptInterpreterJava *>(
debugger.GetScriptInterpreter(true, eScriptLanguageJava));
Java &java = java_interpreter->GetJava();
llvm::Expected<bool> BoolOrErr =
java.CallBreakpointCallback(baton, stop_frame_sp, bp_loc_sp);
if (llvm::Error E = BoolOrErr.takeError()) {
debugger.GetErrorStream() << toString(std::move(E));
return true;
}
return *BoolOrErr;
}
Status ScriptInterpreterJava::SetBreakpointCommandCallback(
BreakpointOptions *bp_options, const char *command_body_text) {
Status error;
auto data_up = std::make_unique<CommandDataJava>();
error = m_java->RegisterBreakpointCallback(data_up.get(), command_body_text);
if (error.Fail())
return error;
auto baton_sp =
std::make_shared<BreakpointOptions::CommandBaton>(std::move(data_up));
bp_options->SetCallback(ScriptInterpreterJava::BreakpointCallbackFunction,
baton_sp);
return error;
}
lldb::ScriptInterpreterSP
ScriptInterpreterJava::CreateInstance(Debugger &debugger) {
return std::make_shared<ScriptInterpreterJava>(debugger);
}
lldb_private::ConstString ScriptInterpreterJava::GetPluginNameStatic() {
static ConstString g_name("script-java");
return g_name;
}
const char *ScriptInterpreterJava::GetPluginDescriptionStatic() {
return "Java script interpreter";
}
lldb_private::ConstString ScriptInterpreterJava::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ScriptInterpreterJava::GetPluginVersion() { return 1; }
Java &ScriptInterpreterJava::GetJava() { return *m_java; }

View File

@ -0,0 +1,81 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
//===-- ScriptInterpreterJava.h ----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef liblldb_ScriptInterpreterJava_h_
#define liblldb_ScriptInterpreterJava_h_
#include "lldb/Interpreter/ScriptInterpreter.h"
#include "lldb/Utility/Status.h"
#include "lldb/lldb-enumerations.h"
namespace lldb_private {
class Java;
class ScriptInterpreterJava : public ScriptInterpreter {
public:
class CommandDataJava : public BreakpointOptions::CommandData {
public:
CommandDataJava() : BreakpointOptions::CommandData() {
interpreter = lldb::eScriptLanguageJava;
}
};
ScriptInterpreterJava(Debugger &debugger);
~ScriptInterpreterJava() override;
bool ExecuteOneLine(
llvm::StringRef command, CommandReturnObject *result,
const ExecuteScriptOptions &options = ExecuteScriptOptions()) override;
void ExecuteInterpreterLoop() override;
bool LoadScriptingModule(const char *filename, bool init_session,
lldb_private::Status &error,
StructuredData::ObjectSP *module_sp = nullptr,
FileSpec extra_search_dir = {}) override;
// Static Functions
static void Initialize();
static void Terminate();
static lldb::ScriptInterpreterSP CreateInstance(Debugger &debugger);
static lldb_private::ConstString GetPluginNameStatic();
static const char *GetPluginDescriptionStatic();
static bool BreakpointCallbackFunction(void *baton,
StoppointCallbackContext *context,
lldb::user_id_t break_id,
lldb::user_id_t break_loc_id);
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
Java &GetJava();
llvm::Error EnterSession(lldb::user_id_t debugger_id);
llvm::Error LeaveSession();
Status SetBreakpointCommandCallback(BreakpointOptions *bp_options,
const char *command_body_text) override;
private:
std::unique_ptr<Java> m_java;
bool m_session_is_active = false;
};
} // namespace lldb_private
#endif // liblldb_ScriptInterpreterJava_h_

View File

@ -0,0 +1,348 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
include(CheckCXXCompilerFlag)
include(CheckLibraryExists)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
include_directories(${LLDB_SOURCE_DIR}/source)
include_directories(MacOSX/DarwinLog)
include_directories(MacOSX)
function(check_certificate identity result_valid)
execute_process(
COMMAND security find-certificate -Z -p -c ${identity} /Library/Keychains/System.keychain
RESULT_VARIABLE exit_code OUTPUT_QUIET ERROR_QUIET)
if(exit_code)
set(${result_valid} FALSE PARENT_SCOPE)
else()
set(${result_valid} TRUE PARENT_SCOPE)
endif()
endfunction()
function(get_debugserver_codesign_identity result)
string(CONCAT not_found_help
"This will cause failures in the test suite."
"Pass '-DLLDB_USE_SYSTEM_DEBUGSERVER=ON' to use the system one instead."
"See 'Code Signing on macOS' in the documentation."
)
# Explicit override: warn if unavailable
if(LLDB_CODESIGN_IDENTITY)
set(${result} ${LLDB_CODESIGN_IDENTITY} PARENT_SCOPE)
check_certificate(${LLDB_CODESIGN_IDENTITY} available)
if(NOT available)
message(WARNING "LLDB_CODESIGN_IDENTITY not found: '${LLDB_CODESIGN_IDENTITY}' ${not_found_help}")
endif()
return()
endif()
# Development signing identity: use if available
check_certificate(gdbcert available)
if(available)
set(${result} gdbcert PARENT_SCOPE)
return()
endif()
message(WARNING "Development code sign identity not found: 'gdbcert' ${not_found_help}")
# LLVM pendant: fallback if available
if(LLVM_CODESIGNING_IDENTITY)
check_certificate(${LLVM_CODESIGNING_IDENTITY} available)
if(available)
set(${result} ${LLVM_CODESIGNING_IDENTITY} PARENT_SCOPE)
return()
endif()
endif()
# Ad-hoc signing: last resort
set(${result} "-" PARENT_SCOPE)
endfunction()
# debugserver does not depend on intrinsics_gen, or on llvm. Set the common
# llvm dependencies in the current scope to the empty set.
set(LLVM_COMMON_DEPENDS)
set(DEBUGSERVER_RESOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../resources")
set(DEBUGSERVER_INFO_PLIST "${DEBUGSERVER_RESOURCE_DIR}/lldb-debugserver-Info.plist")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -Wl,-sectcreate,__TEXT,__info_plist,${DEBUGSERVER_INFO_PLIST}")
check_cxx_compiler_flag("-Wno-gnu-zero-variadic-macro-arguments"
CXX_SUPPORTS_NO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS)
if (CXX_SUPPORTS_NO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
endif ()
check_cxx_compiler_flag("-Wno-zero-length-array"
CXX_SUPPORTS_NO_ZERO_LENGTH_ARRAY)
if (CXX_SUPPORTS_NO_ZERO_LENGTH_ARRAY)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-zero-length-array")
endif ()
check_cxx_compiler_flag("-Wno-extended-offsetof"
CXX_SUPPORTS_NO_EXTENDED_OFFSETOF)
if (CXX_SUPPORTS_NO_EXTENDED_OFFSETOF)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-extended-offsetof")
endif ()
# When compiling for arm, build debugserver 2 way fat with an arm64 and arm64e
# slice. You can only debug arm64e processes using an arm64e debugserver.
include(CheckCSourceCompiles)
check_c_source_compiles(
"
#include <TargetConditionals.h>
#if TARGET_CPU_ARM
#if TARGET_OS_OSX
#warning Building for macOS
#else
#error Not building for macOS
#endif
#else
#error Not building for ARM
#endif
int main() { return 0; }
"
BUILDING_FOR_ARM_OSX
)
if (BUILDING_FOR_ARM_OSX)
set(CMAKE_OSX_ARCHITECTURES "arm64;arm64e")
endif ()
check_library_exists(compression compression_encode_buffer "" HAVE_LIBCOMPRESSION)
find_library(SECURITY_LIBRARY Security)
add_subdirectory(MacOSX)
set(LLDB_CODESIGN_IDENTITY "" CACHE STRING
"Identity override for debugserver; see 'Code Signing on macOS' in the documentation (Darwin only)")
get_debugserver_codesign_identity(debugserver_codesign_identity)
# Override locally, so the identity is used for targets created in this scope.
set(LLVM_CODESIGNING_IDENTITY ${debugserver_codesign_identity})
# Use the same identity later in the test suite.
set_property(GLOBAL PROPERTY
LLDB_DEBUGSERVER_CODESIGN_IDENTITY ${debugserver_codesign_identity})
if(APPLE)
if(APPLE_EMBEDDED)
find_library(BACKBOARD_LIBRARY BackBoardServices
PATHS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
find_library(FRONTBOARD_LIBRARY FrontBoardServices
PATHS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
find_library(SPRINGBOARD_LIBRARY SpringBoardServices
PATHS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
find_library(MOBILESERVICES_LIBRARY MobileCoreServices
PATHS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
find_library(LOCKDOWN_LIBRARY lockdown)
if (APPLE_EMBEDDED STREQUAL "watchos")
find_library(CAROUSELSERVICES_LIBRARY CarouselServices
PATHS ${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks)
endif()
if(NOT BACKBOARD_LIBRARY)
set(SKIP_TEST_DEBUGSERVER ON CACHE BOOL "" FORCE)
endif()
endif()
endif()
if(HAVE_LIBCOMPRESSION)
set(LIBCOMPRESSION compression)
endif()
if(LLDB_USE_ENTITLEMENTS)
if(APPLE_EMBEDDED)
set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-entitlements.plist)
else()
if (LLDB_USE_PRIVATE_ENTITLEMENTS)
set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-macosx-private-entitlements.plist)
else()
set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-macosx-entitlements.plist)
endif()
endif()
endif()
add_definitions(-DLLDB_USE_OS_LOG)
if(${CMAKE_OSX_SYSROOT} MATCHES ".Internal.sdk$")
message(STATUS "LLDB debugserver energy support is enabled")
add_definitions(-DLLDB_ENERGY)
set(ENERGY_LIBRARY -lpmenergy -lpmsample)
else()
message(STATUS "LLDB debugserver energy support is disabled")
endif()
set(generated_mach_interfaces
${CMAKE_CURRENT_BINARY_DIR}/mach_exc.h
${CMAKE_CURRENT_BINARY_DIR}/mach_excServer.c
${CMAKE_CURRENT_BINARY_DIR}/mach_excUser.c
)
set(MIG_ARCH_FLAGS "")
if (DEFINED MIG_ARCHS)
foreach(ARCH ${MIG_ARCHS})
set(MIG_ARCH_FLAGS "${MIG_ARCH_FLAGS} -arch ${ARCH}")
endforeach()
endif()
separate_arguments(MIG_ARCH_FLAGS_SEPARTED NATIVE_COMMAND "${MIG_ARCH_FLAGS}")
add_custom_command(OUTPUT ${generated_mach_interfaces}
VERBATIM COMMAND mig ${MIG_ARCH_FLAGS_SEPARTED} -isysroot ${CMAKE_OSX_SYSROOT} ${CMAKE_CURRENT_SOURCE_DIR}/MacOSX/dbgnub-mig.defs
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/MacOSX/dbgnub-mig.defs
)
set(DEBUGSERVER_VERS_GENERATED_FILE ${CMAKE_CURRENT_BINARY_DIR}/debugserver_vers.c)
configure_file(debugserver_vers.c.in
${DEBUGSERVER_VERS_GENERATED_FILE} @ONLY)
set(lldbDebugserverCommonSources
DNBArch.cpp
DNBBreakpoint.cpp
DNB.cpp
DNBDataRef.cpp
DNBError.cpp
DNBLog.cpp
DNBRegisterInfo.cpp
DNBThreadResumeActions.cpp
JSON.cpp
StdStringExtractor.cpp
# JSON reader depends on the following LLDB-common files
${LLDB_SOURCE_DIR}/source/Host/common/StringConvert.cpp
${LLDB_SOURCE_DIR}/source/Host/common/SocketAddress.cpp
# end JSON reader dependencies
libdebugserver.cpp
PseudoTerminal.cpp
PThreadEvent.cpp
PThreadMutex.cpp
RNBContext.cpp
RNBRemote.cpp
RNBServices.cpp
RNBSocket.cpp
SysSignal.cpp
TTYState.cpp
MacOSX/CFBundle.cpp
MacOSX/CFString.cpp
MacOSX/Genealogy.cpp
MacOSX/MachException.cpp
MacOSX/MachProcess.mm
MacOSX/MachTask.mm
MacOSX/MachThread.cpp
MacOSX/MachThreadList.cpp
MacOSX/MachVMMemory.cpp
MacOSX/MachVMRegion.cpp
MacOSX/OsLogger.cpp
${generated_mach_interfaces}
${DEBUGSERVER_VERS_GENERATED_FILE})
# Tell LLVM not to complain about these source files.
set(LLVM_OPTIONAL_SOURCES
${lldbDebugserverCommonSources}
debugserver.cpp)
add_lldb_library(lldbDebugserverCommon ${lldbDebugserverCommonSources})
set_target_properties(lldbDebugserverCommon PROPERTIES FOLDER "lldb libraries/debugserver")
target_link_libraries(lldbDebugserverCommon
INTERFACE ${COCOA_LIBRARY}
${CORE_FOUNDATION_LIBRARY}
${FOUNDATION_LIBRARY}
${BACKBOARD_LIBRARY}
${FRONTBOARD_LIBRARY}
${SPRINGBOARD_LIBRARY}
${MOBILESERVICES_LIBRARY}
${LOCKDOWN_LIBRARY}
${CAROUSELSERVICES_LIBRARY}
lldbDebugserverArchSupport
lldbDebugserverDarwin_DarwinLog
${FOUNDATION_LIBRARY}
${SECURITY_LIBRARY}
${LIBCOMPRESSION}
${ENERGY_LIBRARY})
if(HAVE_LIBCOMPRESSION)
set_property(TARGET lldbDebugserverCommon APPEND PROPERTY
COMPILE_DEFINITIONS HAVE_LIBCOMPRESSION)
endif()
add_lldb_tool(debugserver ADD_TO_FRAMEWORK
debugserver.cpp
LINK_LIBS lldbDebugserverCommon
ENTITLEMENTS ${entitlements}
)
# Workaround for Xcode-specific code-signing behavior:
# The XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY option causes debugserver to be copied
# into the framework first and code-signed afterwards. Sign the copy manually.
if (debugserver_codesign_identity AND LLDB_BUILD_FRAMEWORK AND
CMAKE_GENERATOR STREQUAL "Xcode")
if(NOT CMAKE_CODESIGN_ALLOCATE)
execute_process(
COMMAND xcrun -f codesign_allocate
OUTPUT_STRIP_TRAILING_WHITESPACE
OUTPUT_VARIABLE CMAKE_CODESIGN_ALLOCATE
)
endif()
if(entitlements)
set(pass_entitlements --entitlements ${entitlements})
endif()
set(copy_location ${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework/Versions/${LLDB_FRAMEWORK_VERSION}/Resources/debugserver)
add_custom_command(TARGET debugserver POST_BUILD
COMMAND ${CMAKE_COMMAND} -E
env CODESIGN_ALLOCATE=${CMAKE_CODESIGN_ALLOCATE}
xcrun codesign -f -s ${debugserver_codesign_identity}
${pass_entitlements} ${copy_location}
COMMENT "Code-sign debugserver copy in the build-tree framework: ${copy_location}"
)
endif()
set_target_properties(debugserver PROPERTIES FOLDER "lldb libraries/debugserver")
if(APPLE_EMBEDDED)
set_property(TARGET lldbDebugserverCommon APPEND PROPERTY COMPILE_DEFINITIONS
WITH_LOCKDOWN
WITH_FBS
WITH_BKS
)
if(CAROUSELSERVICES_LIBRARY)
set_property(TARGET lldbDebugserverCommon APPEND PROPERTY COMPILE_DEFINITIONS
WITH_CAROUSEL
)
endif()
set_property(TARGET debugserver APPEND PROPERTY COMPILE_DEFINITIONS
WITH_LOCKDOWN
WITH_FBS
WITH_BKS
)
set_property(TARGET lldbDebugserverCommon APPEND PROPERTY COMPILE_FLAGS
-F${CMAKE_OSX_SYSROOT}/System/Library/PrivateFrameworks
)
add_lldb_library(lldbDebugserverCommon_NonUI ${lldbDebugserverCommonSources})
target_link_libraries(lldbDebugserverCommon_NonUI
INTERFACE ${COCOA_LIBRARY}
${CORE_FOUNDATION_LIBRARY}
${FOUNDATION_LIBRARY}
lldbDebugserverArchSupport
lldbDebugserverDarwin_DarwinLog
${SECURITY_LIBRARY}
${LIBCOMPRESSION})
if(HAVE_LIBCOMPRESSION)
set_property(TARGET lldbDebugserverCommon_NonUI APPEND PROPERTY
COMPILE_DEFINITIONS HAVE_LIBCOMPRESSION)
endif()
add_lldb_tool(debugserver-nonui
debugserver.cpp
LINK_LIBS
lldbDebugserverCommon_NonUI
ENTITLEMENTS
${entitlements}
)
endif()

View File

@ -0,0 +1,62 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class AccessType {
public final static AccessType eAccessNone = new AccessType("eAccessNone");
public final static AccessType eAccessPublic = new AccessType("eAccessPublic");
public final static AccessType eAccessPrivate = new AccessType("eAccessPrivate");
public final static AccessType eAccessProtected = new AccessType("eAccessProtected");
public final static AccessType eAccessPackage = new AccessType("eAccessPackage");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static AccessType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + AccessType.class + " with value " + swigValue);
}
private AccessType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private AccessType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private AccessType(String swigName, AccessType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static AccessType[] swigValues = { eAccessNone, eAccessPublic, eAccessPrivate, eAccessProtected, eAccessPackage };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,90 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class BasicType {
public final static BasicType eBasicTypeInvalid = new BasicType("eBasicTypeInvalid", lldbJNI.eBasicTypeInvalid_get());
public final static BasicType eBasicTypeVoid = new BasicType("eBasicTypeVoid", lldbJNI.eBasicTypeVoid_get());
public final static BasicType eBasicTypeChar = new BasicType("eBasicTypeChar");
public final static BasicType eBasicTypeSignedChar = new BasicType("eBasicTypeSignedChar");
public final static BasicType eBasicTypeUnsignedChar = new BasicType("eBasicTypeUnsignedChar");
public final static BasicType eBasicTypeWChar = new BasicType("eBasicTypeWChar");
public final static BasicType eBasicTypeSignedWChar = new BasicType("eBasicTypeSignedWChar");
public final static BasicType eBasicTypeUnsignedWChar = new BasicType("eBasicTypeUnsignedWChar");
public final static BasicType eBasicTypeChar16 = new BasicType("eBasicTypeChar16");
public final static BasicType eBasicTypeChar32 = new BasicType("eBasicTypeChar32");
public final static BasicType eBasicTypeShort = new BasicType("eBasicTypeShort");
public final static BasicType eBasicTypeUnsignedShort = new BasicType("eBasicTypeUnsignedShort");
public final static BasicType eBasicTypeInt = new BasicType("eBasicTypeInt");
public final static BasicType eBasicTypeUnsignedInt = new BasicType("eBasicTypeUnsignedInt");
public final static BasicType eBasicTypeLong = new BasicType("eBasicTypeLong");
public final static BasicType eBasicTypeUnsignedLong = new BasicType("eBasicTypeUnsignedLong");
public final static BasicType eBasicTypeLongLong = new BasicType("eBasicTypeLongLong");
public final static BasicType eBasicTypeUnsignedLongLong = new BasicType("eBasicTypeUnsignedLongLong");
public final static BasicType eBasicTypeInt128 = new BasicType("eBasicTypeInt128");
public final static BasicType eBasicTypeUnsignedInt128 = new BasicType("eBasicTypeUnsignedInt128");
public final static BasicType eBasicTypeBool = new BasicType("eBasicTypeBool");
public final static BasicType eBasicTypeHalf = new BasicType("eBasicTypeHalf");
public final static BasicType eBasicTypeFloat = new BasicType("eBasicTypeFloat");
public final static BasicType eBasicTypeDouble = new BasicType("eBasicTypeDouble");
public final static BasicType eBasicTypeLongDouble = new BasicType("eBasicTypeLongDouble");
public final static BasicType eBasicTypeFloatComplex = new BasicType("eBasicTypeFloatComplex");
public final static BasicType eBasicTypeDoubleComplex = new BasicType("eBasicTypeDoubleComplex");
public final static BasicType eBasicTypeLongDoubleComplex = new BasicType("eBasicTypeLongDoubleComplex");
public final static BasicType eBasicTypeObjCID = new BasicType("eBasicTypeObjCID");
public final static BasicType eBasicTypeObjCClass = new BasicType("eBasicTypeObjCClass");
public final static BasicType eBasicTypeObjCSel = new BasicType("eBasicTypeObjCSel");
public final static BasicType eBasicTypeNullPtr = new BasicType("eBasicTypeNullPtr");
public final static BasicType eBasicTypeOther = new BasicType("eBasicTypeOther");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static BasicType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + BasicType.class + " with value " + swigValue);
}
private BasicType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private BasicType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private BasicType(String swigName, BasicType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static BasicType[] swigValues = { eBasicTypeInvalid, eBasicTypeVoid, eBasicTypeChar, eBasicTypeSignedChar, eBasicTypeUnsignedChar, eBasicTypeWChar, eBasicTypeSignedWChar, eBasicTypeUnsignedWChar, eBasicTypeChar16, eBasicTypeChar32, eBasicTypeShort, eBasicTypeUnsignedShort, eBasicTypeInt, eBasicTypeUnsignedInt, eBasicTypeLong, eBasicTypeUnsignedLong, eBasicTypeLongLong, eBasicTypeUnsignedLongLong, eBasicTypeInt128, eBasicTypeUnsignedInt128, eBasicTypeBool, eBasicTypeHalf, eBasicTypeFloat, eBasicTypeDouble, eBasicTypeLongDouble, eBasicTypeFloatComplex, eBasicTypeDoubleComplex, eBasicTypeLongDoubleComplex, eBasicTypeObjCID, eBasicTypeObjCClass, eBasicTypeObjCSel, eBasicTypeNullPtr, eBasicTypeOther };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,70 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class BreakpointEventType {
public final static BreakpointEventType eBreakpointEventTypeInvalidType = new BreakpointEventType("eBreakpointEventTypeInvalidType", lldbJNI.eBreakpointEventTypeInvalidType_get());
public final static BreakpointEventType eBreakpointEventTypeAdded = new BreakpointEventType("eBreakpointEventTypeAdded", lldbJNI.eBreakpointEventTypeAdded_get());
public final static BreakpointEventType eBreakpointEventTypeRemoved = new BreakpointEventType("eBreakpointEventTypeRemoved", lldbJNI.eBreakpointEventTypeRemoved_get());
public final static BreakpointEventType eBreakpointEventTypeLocationsAdded = new BreakpointEventType("eBreakpointEventTypeLocationsAdded", lldbJNI.eBreakpointEventTypeLocationsAdded_get());
public final static BreakpointEventType eBreakpointEventTypeLocationsRemoved = new BreakpointEventType("eBreakpointEventTypeLocationsRemoved", lldbJNI.eBreakpointEventTypeLocationsRemoved_get());
public final static BreakpointEventType eBreakpointEventTypeLocationsResolved = new BreakpointEventType("eBreakpointEventTypeLocationsResolved", lldbJNI.eBreakpointEventTypeLocationsResolved_get());
public final static BreakpointEventType eBreakpointEventTypeEnabled = new BreakpointEventType("eBreakpointEventTypeEnabled", lldbJNI.eBreakpointEventTypeEnabled_get());
public final static BreakpointEventType eBreakpointEventTypeDisabled = new BreakpointEventType("eBreakpointEventTypeDisabled", lldbJNI.eBreakpointEventTypeDisabled_get());
public final static BreakpointEventType eBreakpointEventTypeCommandChanged = new BreakpointEventType("eBreakpointEventTypeCommandChanged", lldbJNI.eBreakpointEventTypeCommandChanged_get());
public final static BreakpointEventType eBreakpointEventTypeConditionChanged = new BreakpointEventType("eBreakpointEventTypeConditionChanged", lldbJNI.eBreakpointEventTypeConditionChanged_get());
public final static BreakpointEventType eBreakpointEventTypeIgnoreChanged = new BreakpointEventType("eBreakpointEventTypeIgnoreChanged", lldbJNI.eBreakpointEventTypeIgnoreChanged_get());
public final static BreakpointEventType eBreakpointEventTypeThreadChanged = new BreakpointEventType("eBreakpointEventTypeThreadChanged", lldbJNI.eBreakpointEventTypeThreadChanged_get());
public final static BreakpointEventType eBreakpointEventTypeAutoContinueChanged = new BreakpointEventType("eBreakpointEventTypeAutoContinueChanged", lldbJNI.eBreakpointEventTypeAutoContinueChanged_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static BreakpointEventType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + BreakpointEventType.class + " with value " + swigValue);
}
private BreakpointEventType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private BreakpointEventType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private BreakpointEventType(String swigName, BreakpointEventType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static BreakpointEventType[] swigValues = { eBreakpointEventTypeInvalidType, eBreakpointEventTypeAdded, eBreakpointEventTypeRemoved, eBreakpointEventTypeLocationsAdded, eBreakpointEventTypeLocationsRemoved, eBreakpointEventTypeLocationsResolved, eBreakpointEventTypeEnabled, eBreakpointEventTypeDisabled, eBreakpointEventTypeCommandChanged, eBreakpointEventTypeConditionChanged, eBreakpointEventTypeIgnoreChanged, eBreakpointEventTypeThreadChanged, eBreakpointEventTypeAutoContinueChanged };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,62 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package SWIG;
public class ByteArray extends SWIGTYPE_p_void {
private long swigCPtr; // Minor bodge to work around private variable in parent
private boolean swigCMemOwn;
public ByteArray(long cPtr, boolean cMemoryOwn) {
super(cPtr, cMemoryOwn);
this.swigCPtr = SWIGTYPE_p_void.getCPtr(this);
swigCMemOwn = cMemoryOwn;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_ByteArray(swigCPtr);
}
swigCPtr = 0;
}
}
public ByteArray(int nelements) {
this(lldbJNI.new_ByteArray(nelements), true);
}
public byte getitem(int index) {
return lldbJNI.ByteArray_getitem(swigCPtr, this, index);
}
public void setitem(int index, byte value) {
lldbJNI.ByteArray_setitem(swigCPtr, this, index, value);
}
/*
public SWIGTYPE_p_jbyte cast() {
long cPtr = lldbJNI.ByteArray_cast(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_jbyte(cPtr, false);
}
public static ByteArray frompointer(SWIGTYPE_p_jbyte t) {
long cPtr = lldbJNI.ByteArray_frompointer(SWIGTYPE_p_jbyte.getCPtr(t));
return (cPtr == 0) ? null : new ByteArray(cPtr, false);
}
*/
}

View File

@ -0,0 +1,61 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class ByteOrder {
public final static ByteOrder eByteOrderInvalid = new ByteOrder("eByteOrderInvalid", lldbJNI.eByteOrderInvalid_get());
public final static ByteOrder eByteOrderBig = new ByteOrder("eByteOrderBig", lldbJNI.eByteOrderBig_get());
public final static ByteOrder eByteOrderPDP = new ByteOrder("eByteOrderPDP", lldbJNI.eByteOrderPDP_get());
public final static ByteOrder eByteOrderLittle = new ByteOrder("eByteOrderLittle", lldbJNI.eByteOrderLittle_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static ByteOrder swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + ByteOrder.class + " with value " + swigValue);
}
private ByteOrder(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private ByteOrder(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private ByteOrder(String swigName, ByteOrder swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static ByteOrder[] swigValues = { eByteOrderInvalid, eByteOrderBig, eByteOrderPDP, eByteOrderLittle };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,146 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class CommandArgumentType {
public final static CommandArgumentType eArgTypeAddress = new CommandArgumentType("eArgTypeAddress", lldbJNI.eArgTypeAddress_get());
public final static CommandArgumentType eArgTypeAddressOrExpression = new CommandArgumentType("eArgTypeAddressOrExpression");
public final static CommandArgumentType eArgTypeAliasName = new CommandArgumentType("eArgTypeAliasName");
public final static CommandArgumentType eArgTypeAliasOptions = new CommandArgumentType("eArgTypeAliasOptions");
public final static CommandArgumentType eArgTypeArchitecture = new CommandArgumentType("eArgTypeArchitecture");
public final static CommandArgumentType eArgTypeBoolean = new CommandArgumentType("eArgTypeBoolean");
public final static CommandArgumentType eArgTypeBreakpointID = new CommandArgumentType("eArgTypeBreakpointID");
public final static CommandArgumentType eArgTypeBreakpointIDRange = new CommandArgumentType("eArgTypeBreakpointIDRange");
public final static CommandArgumentType eArgTypeBreakpointName = new CommandArgumentType("eArgTypeBreakpointName");
public final static CommandArgumentType eArgTypeByteSize = new CommandArgumentType("eArgTypeByteSize");
public final static CommandArgumentType eArgTypeClassName = new CommandArgumentType("eArgTypeClassName");
public final static CommandArgumentType eArgTypeCommandName = new CommandArgumentType("eArgTypeCommandName");
public final static CommandArgumentType eArgTypeCount = new CommandArgumentType("eArgTypeCount");
public final static CommandArgumentType eArgTypeDescriptionVerbosity = new CommandArgumentType("eArgTypeDescriptionVerbosity");
public final static CommandArgumentType eArgTypeDirectoryName = new CommandArgumentType("eArgTypeDirectoryName");
public final static CommandArgumentType eArgTypeDisassemblyFlavor = new CommandArgumentType("eArgTypeDisassemblyFlavor");
public final static CommandArgumentType eArgTypeEndAddress = new CommandArgumentType("eArgTypeEndAddress");
public final static CommandArgumentType eArgTypeExpression = new CommandArgumentType("eArgTypeExpression");
public final static CommandArgumentType eArgTypeExpressionPath = new CommandArgumentType("eArgTypeExpressionPath");
public final static CommandArgumentType eArgTypeExprFormat = new CommandArgumentType("eArgTypeExprFormat");
public final static CommandArgumentType eArgTypeFileLineColumn = new CommandArgumentType("eArgTypeFileLineColumn");
public final static CommandArgumentType eArgTypeFilename = new CommandArgumentType("eArgTypeFilename");
public final static CommandArgumentType eArgTypeFormat = new CommandArgumentType("eArgTypeFormat");
public final static CommandArgumentType eArgTypeFrameIndex = new CommandArgumentType("eArgTypeFrameIndex");
public final static CommandArgumentType eArgTypeFullName = new CommandArgumentType("eArgTypeFullName");
public final static CommandArgumentType eArgTypeFunctionName = new CommandArgumentType("eArgTypeFunctionName");
public final static CommandArgumentType eArgTypeFunctionOrSymbol = new CommandArgumentType("eArgTypeFunctionOrSymbol");
public final static CommandArgumentType eArgTypeGDBFormat = new CommandArgumentType("eArgTypeGDBFormat");
public final static CommandArgumentType eArgTypeHelpText = new CommandArgumentType("eArgTypeHelpText");
public final static CommandArgumentType eArgTypeIndex = new CommandArgumentType("eArgTypeIndex");
public final static CommandArgumentType eArgTypeLanguage = new CommandArgumentType("eArgTypeLanguage");
public final static CommandArgumentType eArgTypeLineNum = new CommandArgumentType("eArgTypeLineNum");
public final static CommandArgumentType eArgTypeLogCategory = new CommandArgumentType("eArgTypeLogCategory");
public final static CommandArgumentType eArgTypeLogChannel = new CommandArgumentType("eArgTypeLogChannel");
public final static CommandArgumentType eArgTypeMethod = new CommandArgumentType("eArgTypeMethod");
public final static CommandArgumentType eArgTypeName = new CommandArgumentType("eArgTypeName");
public final static CommandArgumentType eArgTypeNewPathPrefix = new CommandArgumentType("eArgTypeNewPathPrefix");
public final static CommandArgumentType eArgTypeNumLines = new CommandArgumentType("eArgTypeNumLines");
public final static CommandArgumentType eArgTypeNumberPerLine = new CommandArgumentType("eArgTypeNumberPerLine");
public final static CommandArgumentType eArgTypeOffset = new CommandArgumentType("eArgTypeOffset");
public final static CommandArgumentType eArgTypeOldPathPrefix = new CommandArgumentType("eArgTypeOldPathPrefix");
public final static CommandArgumentType eArgTypeOneLiner = new CommandArgumentType("eArgTypeOneLiner");
public final static CommandArgumentType eArgTypePath = new CommandArgumentType("eArgTypePath");
public final static CommandArgumentType eArgTypePermissionsNumber = new CommandArgumentType("eArgTypePermissionsNumber");
public final static CommandArgumentType eArgTypePermissionsString = new CommandArgumentType("eArgTypePermissionsString");
public final static CommandArgumentType eArgTypePid = new CommandArgumentType("eArgTypePid");
public final static CommandArgumentType eArgTypePlugin = new CommandArgumentType("eArgTypePlugin");
public final static CommandArgumentType eArgTypeProcessName = new CommandArgumentType("eArgTypeProcessName");
public final static CommandArgumentType eArgTypePythonClass = new CommandArgumentType("eArgTypePythonClass");
public final static CommandArgumentType eArgTypePythonFunction = new CommandArgumentType("eArgTypePythonFunction");
public final static CommandArgumentType eArgTypePythonScript = new CommandArgumentType("eArgTypePythonScript");
public final static CommandArgumentType eArgTypeQueueName = new CommandArgumentType("eArgTypeQueueName");
public final static CommandArgumentType eArgTypeRegisterName = new CommandArgumentType("eArgTypeRegisterName");
public final static CommandArgumentType eArgTypeRegularExpression = new CommandArgumentType("eArgTypeRegularExpression");
public final static CommandArgumentType eArgTypeRunArgs = new CommandArgumentType("eArgTypeRunArgs");
public final static CommandArgumentType eArgTypeRunMode = new CommandArgumentType("eArgTypeRunMode");
public final static CommandArgumentType eArgTypeScriptedCommandSynchronicity = new CommandArgumentType("eArgTypeScriptedCommandSynchronicity");
public final static CommandArgumentType eArgTypeScriptLang = new CommandArgumentType("eArgTypeScriptLang");
public final static CommandArgumentType eArgTypeSearchWord = new CommandArgumentType("eArgTypeSearchWord");
public final static CommandArgumentType eArgTypeSelector = new CommandArgumentType("eArgTypeSelector");
public final static CommandArgumentType eArgTypeSettingIndex = new CommandArgumentType("eArgTypeSettingIndex");
public final static CommandArgumentType eArgTypeSettingKey = new CommandArgumentType("eArgTypeSettingKey");
public final static CommandArgumentType eArgTypeSettingPrefix = new CommandArgumentType("eArgTypeSettingPrefix");
public final static CommandArgumentType eArgTypeSettingVariableName = new CommandArgumentType("eArgTypeSettingVariableName");
public final static CommandArgumentType eArgTypeShlibName = new CommandArgumentType("eArgTypeShlibName");
public final static CommandArgumentType eArgTypeSourceFile = new CommandArgumentType("eArgTypeSourceFile");
public final static CommandArgumentType eArgTypeSortOrder = new CommandArgumentType("eArgTypeSortOrder");
public final static CommandArgumentType eArgTypeStartAddress = new CommandArgumentType("eArgTypeStartAddress");
public final static CommandArgumentType eArgTypeSummaryString = new CommandArgumentType("eArgTypeSummaryString");
public final static CommandArgumentType eArgTypeSymbol = new CommandArgumentType("eArgTypeSymbol");
public final static CommandArgumentType eArgTypeThreadID = new CommandArgumentType("eArgTypeThreadID");
public final static CommandArgumentType eArgTypeThreadIndex = new CommandArgumentType("eArgTypeThreadIndex");
public final static CommandArgumentType eArgTypeThreadName = new CommandArgumentType("eArgTypeThreadName");
public final static CommandArgumentType eArgTypeTypeName = new CommandArgumentType("eArgTypeTypeName");
public final static CommandArgumentType eArgTypeUnsignedInteger = new CommandArgumentType("eArgTypeUnsignedInteger");
public final static CommandArgumentType eArgTypeUnixSignal = new CommandArgumentType("eArgTypeUnixSignal");
public final static CommandArgumentType eArgTypeVarName = new CommandArgumentType("eArgTypeVarName");
public final static CommandArgumentType eArgTypeValue = new CommandArgumentType("eArgTypeValue");
public final static CommandArgumentType eArgTypeWidth = new CommandArgumentType("eArgTypeWidth");
public final static CommandArgumentType eArgTypeNone = new CommandArgumentType("eArgTypeNone");
public final static CommandArgumentType eArgTypePlatform = new CommandArgumentType("eArgTypePlatform");
public final static CommandArgumentType eArgTypeWatchpointID = new CommandArgumentType("eArgTypeWatchpointID");
public final static CommandArgumentType eArgTypeWatchpointIDRange = new CommandArgumentType("eArgTypeWatchpointIDRange");
public final static CommandArgumentType eArgTypeWatchType = new CommandArgumentType("eArgTypeWatchType");
public final static CommandArgumentType eArgRawInput = new CommandArgumentType("eArgRawInput");
public final static CommandArgumentType eArgTypeCommand = new CommandArgumentType("eArgTypeCommand");
public final static CommandArgumentType eArgTypeColumnNum = new CommandArgumentType("eArgTypeColumnNum");
public final static CommandArgumentType eArgTypeModuleUUID = new CommandArgumentType("eArgTypeModuleUUID");
public final static CommandArgumentType eArgTypeLastArg = new CommandArgumentType("eArgTypeLastArg");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static CommandArgumentType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + CommandArgumentType.class + " with value " + swigValue);
}
private CommandArgumentType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private CommandArgumentType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private CommandArgumentType(String swigName, CommandArgumentType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static CommandArgumentType[] swigValues = { eArgTypeAddress, eArgTypeAddressOrExpression, eArgTypeAliasName, eArgTypeAliasOptions, eArgTypeArchitecture, eArgTypeBoolean, eArgTypeBreakpointID, eArgTypeBreakpointIDRange, eArgTypeBreakpointName, eArgTypeByteSize, eArgTypeClassName, eArgTypeCommandName, eArgTypeCount, eArgTypeDescriptionVerbosity, eArgTypeDirectoryName, eArgTypeDisassemblyFlavor, eArgTypeEndAddress, eArgTypeExpression, eArgTypeExpressionPath, eArgTypeExprFormat, eArgTypeFileLineColumn, eArgTypeFilename, eArgTypeFormat, eArgTypeFrameIndex, eArgTypeFullName, eArgTypeFunctionName, eArgTypeFunctionOrSymbol, eArgTypeGDBFormat, eArgTypeHelpText, eArgTypeIndex, eArgTypeLanguage, eArgTypeLineNum, eArgTypeLogCategory, eArgTypeLogChannel, eArgTypeMethod, eArgTypeName, eArgTypeNewPathPrefix, eArgTypeNumLines, eArgTypeNumberPerLine, eArgTypeOffset, eArgTypeOldPathPrefix, eArgTypeOneLiner, eArgTypePath, eArgTypePermissionsNumber, eArgTypePermissionsString, eArgTypePid, eArgTypePlugin, eArgTypeProcessName, eArgTypePythonClass, eArgTypePythonFunction, eArgTypePythonScript, eArgTypeQueueName, eArgTypeRegisterName, eArgTypeRegularExpression, eArgTypeRunArgs, eArgTypeRunMode, eArgTypeScriptedCommandSynchronicity, eArgTypeScriptLang, eArgTypeSearchWord, eArgTypeSelector, eArgTypeSettingIndex, eArgTypeSettingKey, eArgTypeSettingPrefix, eArgTypeSettingVariableName, eArgTypeShlibName, eArgTypeSourceFile, eArgTypeSortOrder, eArgTypeStartAddress, eArgTypeSummaryString, eArgTypeSymbol, eArgTypeThreadID, eArgTypeThreadIndex, eArgTypeThreadName, eArgTypeTypeName, eArgTypeUnsignedInteger, eArgTypeUnixSignal, eArgTypeVarName, eArgTypeValue, eArgTypeWidth, eArgTypeNone, eArgTypePlatform, eArgTypeWatchpointID, eArgTypeWatchpointIDRange, eArgTypeWatchType, eArgRawInput, eArgTypeCommand, eArgTypeColumnNum, eArgTypeModuleUUID, eArgTypeLastArg };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,66 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class CommandFlags {
public final static CommandFlags eCommandRequiresTarget = new CommandFlags("eCommandRequiresTarget", lldbJNI.eCommandRequiresTarget_get());
public final static CommandFlags eCommandRequiresProcess = new CommandFlags("eCommandRequiresProcess", lldbJNI.eCommandRequiresProcess_get());
public final static CommandFlags eCommandRequiresThread = new CommandFlags("eCommandRequiresThread", lldbJNI.eCommandRequiresThread_get());
public final static CommandFlags eCommandRequiresFrame = new CommandFlags("eCommandRequiresFrame", lldbJNI.eCommandRequiresFrame_get());
public final static CommandFlags eCommandRequiresRegContext = new CommandFlags("eCommandRequiresRegContext", lldbJNI.eCommandRequiresRegContext_get());
public final static CommandFlags eCommandTryTargetAPILock = new CommandFlags("eCommandTryTargetAPILock", lldbJNI.eCommandTryTargetAPILock_get());
public final static CommandFlags eCommandProcessMustBeLaunched = new CommandFlags("eCommandProcessMustBeLaunched", lldbJNI.eCommandProcessMustBeLaunched_get());
public final static CommandFlags eCommandProcessMustBePaused = new CommandFlags("eCommandProcessMustBePaused", lldbJNI.eCommandProcessMustBePaused_get());
public final static CommandFlags eCommandProcessMustBeTraced = new CommandFlags("eCommandProcessMustBeTraced", lldbJNI.eCommandProcessMustBeTraced_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static CommandFlags swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + CommandFlags.class + " with value " + swigValue);
}
private CommandFlags(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private CommandFlags(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private CommandFlags(String swigName, CommandFlags swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static CommandFlags[] swigValues = { eCommandRequiresTarget, eCommandRequiresProcess, eCommandRequiresThread, eCommandRequiresFrame, eCommandRequiresRegContext, eCommandTryTargetAPILock, eCommandProcessMustBeLaunched, eCommandProcessMustBePaused, eCommandProcessMustBeTraced };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,61 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class CommandInterpreterResult {
public final static CommandInterpreterResult eCommandInterpreterResultSuccess = new CommandInterpreterResult("eCommandInterpreterResultSuccess");
public final static CommandInterpreterResult eCommandInterpreterResultInferiorCrash = new CommandInterpreterResult("eCommandInterpreterResultInferiorCrash");
public final static CommandInterpreterResult eCommandInterpreterResultCommandError = new CommandInterpreterResult("eCommandInterpreterResultCommandError");
public final static CommandInterpreterResult eCommandInterpreterResultQuitRequested = new CommandInterpreterResult("eCommandInterpreterResultQuitRequested");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static CommandInterpreterResult swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + CommandInterpreterResult.class + " with value " + swigValue);
}
private CommandInterpreterResult(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private CommandInterpreterResult(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private CommandInterpreterResult(String swigName, CommandInterpreterResult swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static CommandInterpreterResult[] swigValues = { eCommandInterpreterResultSuccess, eCommandInterpreterResultInferiorCrash, eCommandInterpreterResultCommandError, eCommandInterpreterResultQuitRequested };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,64 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class ConnectionStatus {
public final static ConnectionStatus eConnectionStatusSuccess = new ConnectionStatus("eConnectionStatusSuccess");
public final static ConnectionStatus eConnectionStatusEndOfFile = new ConnectionStatus("eConnectionStatusEndOfFile");
public final static ConnectionStatus eConnectionStatusError = new ConnectionStatus("eConnectionStatusError");
public final static ConnectionStatus eConnectionStatusTimedOut = new ConnectionStatus("eConnectionStatusTimedOut");
public final static ConnectionStatus eConnectionStatusNoConnection = new ConnectionStatus("eConnectionStatusNoConnection");
public final static ConnectionStatus eConnectionStatusLostConnection = new ConnectionStatus("eConnectionStatusLostConnection");
public final static ConnectionStatus eConnectionStatusInterrupted = new ConnectionStatus("eConnectionStatusInterrupted");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static ConnectionStatus swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + ConnectionStatus.class + " with value " + swigValue);
}
private ConnectionStatus(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private ConnectionStatus(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private ConnectionStatus(String swigName, ConnectionStatus swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static ConnectionStatus[] swigValues = { eConnectionStatusSuccess, eConnectionStatusEndOfFile, eConnectionStatusError, eConnectionStatusTimedOut, eConnectionStatusNoConnection, eConnectionStatusLostConnection, eConnectionStatusInterrupted };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,62 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class DescriptionLevel {
public final static DescriptionLevel eDescriptionLevelBrief = new DescriptionLevel("eDescriptionLevelBrief", lldbJNI.eDescriptionLevelBrief_get());
public final static DescriptionLevel eDescriptionLevelFull = new DescriptionLevel("eDescriptionLevelFull");
public final static DescriptionLevel eDescriptionLevelVerbose = new DescriptionLevel("eDescriptionLevelVerbose");
public final static DescriptionLevel eDescriptionLevelInitial = new DescriptionLevel("eDescriptionLevelInitial");
public final static DescriptionLevel kNumDescriptionLevels = new DescriptionLevel("kNumDescriptionLevels");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static DescriptionLevel swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + DescriptionLevel.class + " with value " + swigValue);
}
private DescriptionLevel(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private DescriptionLevel(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private DescriptionLevel(String swigName, DescriptionLevel swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static DescriptionLevel[] swigValues = { eDescriptionLevelBrief, eDescriptionLevelFull, eDescriptionLevelVerbose, eDescriptionLevelInitial, kNumDescriptionLevels };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class DynamicValueType {
public final static DynamicValueType eNoDynamicValues = new DynamicValueType("eNoDynamicValues", lldbJNI.eNoDynamicValues_get());
public final static DynamicValueType eDynamicCanRunTarget = new DynamicValueType("eDynamicCanRunTarget", lldbJNI.eDynamicCanRunTarget_get());
public final static DynamicValueType eDynamicDontRunTarget = new DynamicValueType("eDynamicDontRunTarget", lldbJNI.eDynamicDontRunTarget_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static DynamicValueType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + DynamicValueType.class + " with value " + swigValue);
}
private DynamicValueType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private DynamicValueType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private DynamicValueType(String swigName, DynamicValueType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static DynamicValueType[] swigValues = { eNoDynamicValues, eDynamicCanRunTarget, eDynamicDontRunTarget };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class EmulateInstructionOptions {
public final static EmulateInstructionOptions eEmulateInstructionOptionNone = new EmulateInstructionOptions("eEmulateInstructionOptionNone", lldbJNI.eEmulateInstructionOptionNone_get());
public final static EmulateInstructionOptions eEmulateInstructionOptionAutoAdvancePC = new EmulateInstructionOptions("eEmulateInstructionOptionAutoAdvancePC", lldbJNI.eEmulateInstructionOptionAutoAdvancePC_get());
public final static EmulateInstructionOptions eEmulateInstructionOptionIgnoreConditions = new EmulateInstructionOptions("eEmulateInstructionOptionIgnoreConditions", lldbJNI.eEmulateInstructionOptionIgnoreConditions_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static EmulateInstructionOptions swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + EmulateInstructionOptions.class + " with value " + swigValue);
}
private EmulateInstructionOptions(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private EmulateInstructionOptions(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private EmulateInstructionOptions(String swigName, EmulateInstructionOptions swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static EmulateInstructionOptions[] swigValues = { eEmulateInstructionOptionNone, eEmulateInstructionOptionAutoAdvancePC, eEmulateInstructionOptionIgnoreConditions };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,62 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class Encoding {
public final static Encoding eEncodingInvalid = new Encoding("eEncodingInvalid", lldbJNI.eEncodingInvalid_get());
public final static Encoding eEncodingUint = new Encoding("eEncodingUint");
public final static Encoding eEncodingSint = new Encoding("eEncodingSint");
public final static Encoding eEncodingIEEE754 = new Encoding("eEncodingIEEE754");
public final static Encoding eEncodingVector = new Encoding("eEncodingVector");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static Encoding swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + Encoding.class + " with value " + swigValue);
}
private Encoding(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private Encoding(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private Encoding(String swigName, Encoding swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static Encoding[] swigValues = { eEncodingInvalid, eEncodingUint, eEncodingSint, eEncodingIEEE754, eEncodingVector };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,63 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class ErrorType {
public final static ErrorType eErrorTypeInvalid = new ErrorType("eErrorTypeInvalid");
public final static ErrorType eErrorTypeGeneric = new ErrorType("eErrorTypeGeneric");
public final static ErrorType eErrorTypeMachKernel = new ErrorType("eErrorTypeMachKernel");
public final static ErrorType eErrorTypePOSIX = new ErrorType("eErrorTypePOSIX");
public final static ErrorType eErrorTypeExpression = new ErrorType("eErrorTypeExpression");
public final static ErrorType eErrorTypeWin32 = new ErrorType("eErrorTypeWin32");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static ErrorType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + ErrorType.class + " with value " + swigValue);
}
private ErrorType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private ErrorType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private ErrorType(String swigName, ErrorType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static ErrorType[] swigValues = { eErrorTypeInvalid, eErrorTypeGeneric, eErrorTypeMachKernel, eErrorTypePOSIX, eErrorTypeExpression, eErrorTypeWin32 };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,61 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class ExpressionEvaluationPhase {
public final static ExpressionEvaluationPhase eExpressionEvaluationParse = new ExpressionEvaluationPhase("eExpressionEvaluationParse", lldbJNI.eExpressionEvaluationParse_get());
public final static ExpressionEvaluationPhase eExpressionEvaluationIRGen = new ExpressionEvaluationPhase("eExpressionEvaluationIRGen");
public final static ExpressionEvaluationPhase eExpressionEvaluationExecution = new ExpressionEvaluationPhase("eExpressionEvaluationExecution");
public final static ExpressionEvaluationPhase eExpressionEvaluationComplete = new ExpressionEvaluationPhase("eExpressionEvaluationComplete");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static ExpressionEvaluationPhase swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + ExpressionEvaluationPhase.class + " with value " + swigValue);
}
private ExpressionEvaluationPhase(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private ExpressionEvaluationPhase(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private ExpressionEvaluationPhase(String swigName, ExpressionEvaluationPhase swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static ExpressionEvaluationPhase[] swigValues = { eExpressionEvaluationParse, eExpressionEvaluationIRGen, eExpressionEvaluationExecution, eExpressionEvaluationComplete };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,67 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class ExpressionResults {
public final static ExpressionResults eExpressionCompleted = new ExpressionResults("eExpressionCompleted", lldbJNI.eExpressionCompleted_get());
public final static ExpressionResults eExpressionSetupError = new ExpressionResults("eExpressionSetupError");
public final static ExpressionResults eExpressionParseError = new ExpressionResults("eExpressionParseError");
public final static ExpressionResults eExpressionDiscarded = new ExpressionResults("eExpressionDiscarded");
public final static ExpressionResults eExpressionInterrupted = new ExpressionResults("eExpressionInterrupted");
public final static ExpressionResults eExpressionHitBreakpoint = new ExpressionResults("eExpressionHitBreakpoint");
public final static ExpressionResults eExpressionTimedOut = new ExpressionResults("eExpressionTimedOut");
public final static ExpressionResults eExpressionResultUnavailable = new ExpressionResults("eExpressionResultUnavailable");
public final static ExpressionResults eExpressionStoppedForDebug = new ExpressionResults("eExpressionStoppedForDebug");
public final static ExpressionResults eExpressionThreadVanished = new ExpressionResults("eExpressionThreadVanished");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static ExpressionResults swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + ExpressionResults.class + " with value " + swigValue);
}
private ExpressionResults(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private ExpressionResults(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private ExpressionResults(String swigName, ExpressionResults swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static ExpressionResults[] swigValues = { eExpressionCompleted, eExpressionSetupError, eExpressionParseError, eExpressionDiscarded, eExpressionInterrupted, eExpressionHitBreakpoint, eExpressionTimedOut, eExpressionResultUnavailable, eExpressionStoppedForDebug, eExpressionThreadVanished };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,83 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class FilePermissions {
public final static FilePermissions eFilePermissionsUserRead = new FilePermissions("eFilePermissionsUserRead", lldbJNI.eFilePermissionsUserRead_get());
public final static FilePermissions eFilePermissionsUserWrite = new FilePermissions("eFilePermissionsUserWrite", lldbJNI.eFilePermissionsUserWrite_get());
public final static FilePermissions eFilePermissionsUserExecute = new FilePermissions("eFilePermissionsUserExecute", lldbJNI.eFilePermissionsUserExecute_get());
public final static FilePermissions eFilePermissionsGroupRead = new FilePermissions("eFilePermissionsGroupRead", lldbJNI.eFilePermissionsGroupRead_get());
public final static FilePermissions eFilePermissionsGroupWrite = new FilePermissions("eFilePermissionsGroupWrite", lldbJNI.eFilePermissionsGroupWrite_get());
public final static FilePermissions eFilePermissionsGroupExecute = new FilePermissions("eFilePermissionsGroupExecute", lldbJNI.eFilePermissionsGroupExecute_get());
public final static FilePermissions eFilePermissionsWorldRead = new FilePermissions("eFilePermissionsWorldRead", lldbJNI.eFilePermissionsWorldRead_get());
public final static FilePermissions eFilePermissionsWorldWrite = new FilePermissions("eFilePermissionsWorldWrite", lldbJNI.eFilePermissionsWorldWrite_get());
public final static FilePermissions eFilePermissionsWorldExecute = new FilePermissions("eFilePermissionsWorldExecute", lldbJNI.eFilePermissionsWorldExecute_get());
public final static FilePermissions eFilePermissionsUserRW = new FilePermissions("eFilePermissionsUserRW", lldbJNI.eFilePermissionsUserRW_get());
public final static FilePermissions eFileFilePermissionsUserRX = new FilePermissions("eFileFilePermissionsUserRX", lldbJNI.eFileFilePermissionsUserRX_get());
public final static FilePermissions eFilePermissionsUserRWX = new FilePermissions("eFilePermissionsUserRWX", lldbJNI.eFilePermissionsUserRWX_get());
public final static FilePermissions eFilePermissionsGroupRW = new FilePermissions("eFilePermissionsGroupRW", lldbJNI.eFilePermissionsGroupRW_get());
public final static FilePermissions eFilePermissionsGroupRX = new FilePermissions("eFilePermissionsGroupRX", lldbJNI.eFilePermissionsGroupRX_get());
public final static FilePermissions eFilePermissionsGroupRWX = new FilePermissions("eFilePermissionsGroupRWX", lldbJNI.eFilePermissionsGroupRWX_get());
public final static FilePermissions eFilePermissionsWorldRW = new FilePermissions("eFilePermissionsWorldRW", lldbJNI.eFilePermissionsWorldRW_get());
public final static FilePermissions eFilePermissionsWorldRX = new FilePermissions("eFilePermissionsWorldRX", lldbJNI.eFilePermissionsWorldRX_get());
public final static FilePermissions eFilePermissionsWorldRWX = new FilePermissions("eFilePermissionsWorldRWX", lldbJNI.eFilePermissionsWorldRWX_get());
public final static FilePermissions eFilePermissionsEveryoneR = new FilePermissions("eFilePermissionsEveryoneR", lldbJNI.eFilePermissionsEveryoneR_get());
public final static FilePermissions eFilePermissionsEveryoneW = new FilePermissions("eFilePermissionsEveryoneW", lldbJNI.eFilePermissionsEveryoneW_get());
public final static FilePermissions eFilePermissionsEveryoneX = new FilePermissions("eFilePermissionsEveryoneX", lldbJNI.eFilePermissionsEveryoneX_get());
public final static FilePermissions eFilePermissionsEveryoneRW = new FilePermissions("eFilePermissionsEveryoneRW", lldbJNI.eFilePermissionsEveryoneRW_get());
public final static FilePermissions eFilePermissionsEveryoneRX = new FilePermissions("eFilePermissionsEveryoneRX", lldbJNI.eFilePermissionsEveryoneRX_get());
public final static FilePermissions eFilePermissionsEveryoneRWX = new FilePermissions("eFilePermissionsEveryoneRWX", lldbJNI.eFilePermissionsEveryoneRWX_get());
public final static FilePermissions eFilePermissionsFileDefault = new FilePermissions("eFilePermissionsFileDefault", lldbJNI.eFilePermissionsFileDefault_get());
public final static FilePermissions eFilePermissionsDirectoryDefault = new FilePermissions("eFilePermissionsDirectoryDefault", lldbJNI.eFilePermissionsDirectoryDefault_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static FilePermissions swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + FilePermissions.class + " with value " + swigValue);
}
private FilePermissions(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private FilePermissions(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private FilePermissions(String swigName, FilePermissions swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static FilePermissions[] swigValues = { eFilePermissionsUserRead, eFilePermissionsUserWrite, eFilePermissionsUserExecute, eFilePermissionsGroupRead, eFilePermissionsGroupWrite, eFilePermissionsGroupExecute, eFilePermissionsWorldRead, eFilePermissionsWorldWrite, eFilePermissionsWorldExecute, eFilePermissionsUserRW, eFileFilePermissionsUserRX, eFilePermissionsUserRWX, eFilePermissionsGroupRW, eFilePermissionsGroupRX, eFilePermissionsGroupRWX, eFilePermissionsWorldRW, eFilePermissionsWorldRX, eFilePermissionsWorldRWX, eFilePermissionsEveryoneR, eFilePermissionsEveryoneW, eFilePermissionsEveryoneX, eFilePermissionsEveryoneRW, eFilePermissionsEveryoneRX, eFilePermissionsEveryoneRWX, eFilePermissionsFileDefault, eFilePermissionsDirectoryDefault };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,100 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class Format {
public final static Format eFormatDefault = new Format("eFormatDefault", lldbJNI.eFormatDefault_get());
public final static Format eFormatInvalid = new Format("eFormatInvalid", lldbJNI.eFormatInvalid_get());
public final static Format eFormatBoolean = new Format("eFormatBoolean");
public final static Format eFormatBinary = new Format("eFormatBinary");
public final static Format eFormatBytes = new Format("eFormatBytes");
public final static Format eFormatBytesWithASCII = new Format("eFormatBytesWithASCII");
public final static Format eFormatChar = new Format("eFormatChar");
public final static Format eFormatCharPrintable = new Format("eFormatCharPrintable");
public final static Format eFormatComplex = new Format("eFormatComplex");
public final static Format eFormatComplexFloat = new Format("eFormatComplexFloat", lldbJNI.eFormatComplexFloat_get());
public final static Format eFormatCString = new Format("eFormatCString");
public final static Format eFormatDecimal = new Format("eFormatDecimal");
public final static Format eFormatEnum = new Format("eFormatEnum");
public final static Format eFormatHex = new Format("eFormatHex");
public final static Format eFormatHexUppercase = new Format("eFormatHexUppercase");
public final static Format eFormatFloat = new Format("eFormatFloat");
public final static Format eFormatOctal = new Format("eFormatOctal");
public final static Format eFormatOSType = new Format("eFormatOSType");
public final static Format eFormatUnicode16 = new Format("eFormatUnicode16");
public final static Format eFormatUnicode32 = new Format("eFormatUnicode32");
public final static Format eFormatUnsigned = new Format("eFormatUnsigned");
public final static Format eFormatPointer = new Format("eFormatPointer");
public final static Format eFormatVectorOfChar = new Format("eFormatVectorOfChar");
public final static Format eFormatVectorOfSInt8 = new Format("eFormatVectorOfSInt8");
public final static Format eFormatVectorOfUInt8 = new Format("eFormatVectorOfUInt8");
public final static Format eFormatVectorOfSInt16 = new Format("eFormatVectorOfSInt16");
public final static Format eFormatVectorOfUInt16 = new Format("eFormatVectorOfUInt16");
public final static Format eFormatVectorOfSInt32 = new Format("eFormatVectorOfSInt32");
public final static Format eFormatVectorOfUInt32 = new Format("eFormatVectorOfUInt32");
public final static Format eFormatVectorOfSInt64 = new Format("eFormatVectorOfSInt64");
public final static Format eFormatVectorOfUInt64 = new Format("eFormatVectorOfUInt64");
public final static Format eFormatVectorOfFloat16 = new Format("eFormatVectorOfFloat16");
public final static Format eFormatVectorOfFloat32 = new Format("eFormatVectorOfFloat32");
public final static Format eFormatVectorOfFloat64 = new Format("eFormatVectorOfFloat64");
public final static Format eFormatVectorOfUInt128 = new Format("eFormatVectorOfUInt128");
public final static Format eFormatComplexInteger = new Format("eFormatComplexInteger");
public final static Format eFormatCharArray = new Format("eFormatCharArray");
public final static Format eFormatAddressInfo = new Format("eFormatAddressInfo");
public final static Format eFormatHexFloat = new Format("eFormatHexFloat");
public final static Format eFormatInstruction = new Format("eFormatInstruction");
public final static Format eFormatVoid = new Format("eFormatVoid");
public final static Format eFormatUnicode8 = new Format("eFormatUnicode8");
public final static Format kNumFormats = new Format("kNumFormats");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static Format swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + Format.class + " with value " + swigValue);
}
private Format(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private Format(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private Format(String swigName, Format swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static Format[] swigValues = { eFormatDefault, eFormatInvalid, eFormatBoolean, eFormatBinary, eFormatBytes, eFormatBytesWithASCII, eFormatChar, eFormatCharPrintable, eFormatComplex, eFormatComplexFloat, eFormatCString, eFormatDecimal, eFormatEnum, eFormatHex, eFormatHexUppercase, eFormatFloat, eFormatOctal, eFormatOSType, eFormatUnicode16, eFormatUnicode32, eFormatUnsigned, eFormatPointer, eFormatVectorOfChar, eFormatVectorOfSInt8, eFormatVectorOfUInt8, eFormatVectorOfSInt16, eFormatVectorOfUInt16, eFormatVectorOfSInt32, eFormatVectorOfUInt32, eFormatVectorOfSInt64, eFormatVectorOfUInt64, eFormatVectorOfFloat16, eFormatVectorOfFloat32, eFormatVectorOfFloat64, eFormatVectorOfUInt128, eFormatComplexInteger, eFormatCharArray, eFormatAddressInfo, eFormatHexFloat, eFormatInstruction, eFormatVoid, eFormatUnicode8, kNumFormats };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,63 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class FrameComparison {
public final static FrameComparison eFrameCompareInvalid = new FrameComparison("eFrameCompareInvalid");
public final static FrameComparison eFrameCompareUnknown = new FrameComparison("eFrameCompareUnknown");
public final static FrameComparison eFrameCompareEqual = new FrameComparison("eFrameCompareEqual");
public final static FrameComparison eFrameCompareSameParent = new FrameComparison("eFrameCompareSameParent");
public final static FrameComparison eFrameCompareYounger = new FrameComparison("eFrameCompareYounger");
public final static FrameComparison eFrameCompareOlder = new FrameComparison("eFrameCompareOlder");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static FrameComparison swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + FrameComparison.class + " with value " + swigValue);
}
private FrameComparison(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private FrameComparison(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private FrameComparison(String swigName, FrameComparison swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static FrameComparison[] swigValues = { eFrameCompareInvalid, eFrameCompareUnknown, eFrameCompareEqual, eFrameCompareSameParent, eFrameCompareYounger, eFrameCompareOlder };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,64 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class FunctionNameType {
public final static FunctionNameType eFunctionNameTypeNone = new FunctionNameType("eFunctionNameTypeNone", lldbJNI.eFunctionNameTypeNone_get());
public final static FunctionNameType eFunctionNameTypeAuto = new FunctionNameType("eFunctionNameTypeAuto", lldbJNI.eFunctionNameTypeAuto_get());
public final static FunctionNameType eFunctionNameTypeFull = new FunctionNameType("eFunctionNameTypeFull", lldbJNI.eFunctionNameTypeFull_get());
public final static FunctionNameType eFunctionNameTypeBase = new FunctionNameType("eFunctionNameTypeBase", lldbJNI.eFunctionNameTypeBase_get());
public final static FunctionNameType eFunctionNameTypeMethod = new FunctionNameType("eFunctionNameTypeMethod", lldbJNI.eFunctionNameTypeMethod_get());
public final static FunctionNameType eFunctionNameTypeSelector = new FunctionNameType("eFunctionNameTypeSelector", lldbJNI.eFunctionNameTypeSelector_get());
public final static FunctionNameType eFunctionNameTypeAny = new FunctionNameType("eFunctionNameTypeAny", lldbJNI.eFunctionNameTypeAny_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static FunctionNameType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + FunctionNameType.class + " with value " + swigValue);
}
private FunctionNameType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private FunctionNameType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private FunctionNameType(String swigName, FunctionNameType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static FunctionNameType[] swigValues = { eFunctionNameTypeNone, eFunctionNameTypeAuto, eFunctionNameTypeFull, eFunctionNameTypeBase, eFunctionNameTypeMethod, eFunctionNameTypeSelector, eFunctionNameTypeAny };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,63 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class GdbSignal {
public final static GdbSignal eGdbSignalBadAccess = new GdbSignal("eGdbSignalBadAccess", lldbJNI.eGdbSignalBadAccess_get());
public final static GdbSignal eGdbSignalBadInstruction = new GdbSignal("eGdbSignalBadInstruction", lldbJNI.eGdbSignalBadInstruction_get());
public final static GdbSignal eGdbSignalArithmetic = new GdbSignal("eGdbSignalArithmetic", lldbJNI.eGdbSignalArithmetic_get());
public final static GdbSignal eGdbSignalEmulation = new GdbSignal("eGdbSignalEmulation", lldbJNI.eGdbSignalEmulation_get());
public final static GdbSignal eGdbSignalSoftware = new GdbSignal("eGdbSignalSoftware", lldbJNI.eGdbSignalSoftware_get());
public final static GdbSignal eGdbSignalBreakpoint = new GdbSignal("eGdbSignalBreakpoint", lldbJNI.eGdbSignalBreakpoint_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static GdbSignal swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + GdbSignal.class + " with value " + swigValue);
}
private GdbSignal(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private GdbSignal(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private GdbSignal(String swigName, GdbSignal swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static GdbSignal[] swigValues = { eGdbSignalBadAccess, eGdbSignalBadInstruction, eGdbSignalArithmetic, eGdbSignalEmulation, eGdbSignalSoftware, eGdbSignalBreakpoint };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,65 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class InputReaderAction {
public final static InputReaderAction eInputReaderActivate = new InputReaderAction("eInputReaderActivate");
public final static InputReaderAction eInputReaderAsynchronousOutputWritten = new InputReaderAction("eInputReaderAsynchronousOutputWritten");
public final static InputReaderAction eInputReaderReactivate = new InputReaderAction("eInputReaderReactivate");
public final static InputReaderAction eInputReaderDeactivate = new InputReaderAction("eInputReaderDeactivate");
public final static InputReaderAction eInputReaderGotToken = new InputReaderAction("eInputReaderGotToken");
public final static InputReaderAction eInputReaderInterrupt = new InputReaderAction("eInputReaderInterrupt");
public final static InputReaderAction eInputReaderEndOfFile = new InputReaderAction("eInputReaderEndOfFile");
public final static InputReaderAction eInputReaderDone = new InputReaderAction("eInputReaderDone");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static InputReaderAction swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + InputReaderAction.class + " with value " + swigValue);
}
private InputReaderAction(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private InputReaderAction(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private InputReaderAction(String swigName, InputReaderAction swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static InputReaderAction[] swigValues = { eInputReaderActivate, eInputReaderAsynchronousOutputWritten, eInputReaderReactivate, eInputReaderDeactivate, eInputReaderGotToken, eInputReaderInterrupt, eInputReaderEndOfFile, eInputReaderDone };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,62 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class InputReaderGranularity {
public final static InputReaderGranularity eInputReaderGranularityInvalid = new InputReaderGranularity("eInputReaderGranularityInvalid", lldbJNI.eInputReaderGranularityInvalid_get());
public final static InputReaderGranularity eInputReaderGranularityByte = new InputReaderGranularity("eInputReaderGranularityByte");
public final static InputReaderGranularity eInputReaderGranularityWord = new InputReaderGranularity("eInputReaderGranularityWord");
public final static InputReaderGranularity eInputReaderGranularityLine = new InputReaderGranularity("eInputReaderGranularityLine");
public final static InputReaderGranularity eInputReaderGranularityAll = new InputReaderGranularity("eInputReaderGranularityAll");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static InputReaderGranularity swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + InputReaderGranularity.class + " with value " + swigValue);
}
private InputReaderGranularity(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private InputReaderGranularity(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private InputReaderGranularity(String swigName, InputReaderGranularity swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static InputReaderGranularity[] swigValues = { eInputReaderGranularityInvalid, eInputReaderGranularityByte, eInputReaderGranularityWord, eInputReaderGranularityLine, eInputReaderGranularityAll };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,63 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class InstrumentationRuntimeType {
public final static InstrumentationRuntimeType eInstrumentationRuntimeTypeAddressSanitizer = new InstrumentationRuntimeType("eInstrumentationRuntimeTypeAddressSanitizer", lldbJNI.eInstrumentationRuntimeTypeAddressSanitizer_get());
public final static InstrumentationRuntimeType eInstrumentationRuntimeTypeThreadSanitizer = new InstrumentationRuntimeType("eInstrumentationRuntimeTypeThreadSanitizer", lldbJNI.eInstrumentationRuntimeTypeThreadSanitizer_get());
public final static InstrumentationRuntimeType eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer = new InstrumentationRuntimeType("eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer", lldbJNI.eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer_get());
public final static InstrumentationRuntimeType eInstrumentationRuntimeTypeMainThreadChecker = new InstrumentationRuntimeType("eInstrumentationRuntimeTypeMainThreadChecker", lldbJNI.eInstrumentationRuntimeTypeMainThreadChecker_get());
public final static InstrumentationRuntimeType eInstrumentationRuntimeTypeSwiftRuntimeReporting = new InstrumentationRuntimeType("eInstrumentationRuntimeTypeSwiftRuntimeReporting", lldbJNI.eInstrumentationRuntimeTypeSwiftRuntimeReporting_get());
public final static InstrumentationRuntimeType eNumInstrumentationRuntimeTypes = new InstrumentationRuntimeType("eNumInstrumentationRuntimeTypes");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static InstrumentationRuntimeType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + InstrumentationRuntimeType.class + " with value " + swigValue);
}
private InstrumentationRuntimeType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private InstrumentationRuntimeType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private InstrumentationRuntimeType(String swigName, InstrumentationRuntimeType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static InstrumentationRuntimeType[] swigValues = { eInstrumentationRuntimeTypeAddressSanitizer, eInstrumentationRuntimeTypeThreadSanitizer, eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer, eInstrumentationRuntimeTypeMainThreadChecker, eInstrumentationRuntimeTypeSwiftRuntimeReporting, eNumInstrumentationRuntimeTypes };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,96 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class LanguageType {
public final static LanguageType eLanguageTypeUnknown = new LanguageType("eLanguageTypeUnknown", lldbJNI.eLanguageTypeUnknown_get());
public final static LanguageType eLanguageTypeC89 = new LanguageType("eLanguageTypeC89", lldbJNI.eLanguageTypeC89_get());
public final static LanguageType eLanguageTypeC = new LanguageType("eLanguageTypeC", lldbJNI.eLanguageTypeC_get());
public final static LanguageType eLanguageTypeAda83 = new LanguageType("eLanguageTypeAda83", lldbJNI.eLanguageTypeAda83_get());
public final static LanguageType eLanguageTypeC_plus_plus = new LanguageType("eLanguageTypeC_plus_plus", lldbJNI.eLanguageTypeC_plus_plus_get());
public final static LanguageType eLanguageTypeCobol74 = new LanguageType("eLanguageTypeCobol74", lldbJNI.eLanguageTypeCobol74_get());
public final static LanguageType eLanguageTypeCobol85 = new LanguageType("eLanguageTypeCobol85", lldbJNI.eLanguageTypeCobol85_get());
public final static LanguageType eLanguageTypeFortran77 = new LanguageType("eLanguageTypeFortran77", lldbJNI.eLanguageTypeFortran77_get());
public final static LanguageType eLanguageTypeFortran90 = new LanguageType("eLanguageTypeFortran90", lldbJNI.eLanguageTypeFortran90_get());
public final static LanguageType eLanguageTypePascal83 = new LanguageType("eLanguageTypePascal83", lldbJNI.eLanguageTypePascal83_get());
public final static LanguageType eLanguageTypeModula2 = new LanguageType("eLanguageTypeModula2", lldbJNI.eLanguageTypeModula2_get());
public final static LanguageType eLanguageTypeJava = new LanguageType("eLanguageTypeJava", lldbJNI.eLanguageTypeJava_get());
public final static LanguageType eLanguageTypeC99 = new LanguageType("eLanguageTypeC99", lldbJNI.eLanguageTypeC99_get());
public final static LanguageType eLanguageTypeAda95 = new LanguageType("eLanguageTypeAda95", lldbJNI.eLanguageTypeAda95_get());
public final static LanguageType eLanguageTypeFortran95 = new LanguageType("eLanguageTypeFortran95", lldbJNI.eLanguageTypeFortran95_get());
public final static LanguageType eLanguageTypePLI = new LanguageType("eLanguageTypePLI", lldbJNI.eLanguageTypePLI_get());
public final static LanguageType eLanguageTypeObjC = new LanguageType("eLanguageTypeObjC", lldbJNI.eLanguageTypeObjC_get());
public final static LanguageType eLanguageTypeObjC_plus_plus = new LanguageType("eLanguageTypeObjC_plus_plus", lldbJNI.eLanguageTypeObjC_plus_plus_get());
public final static LanguageType eLanguageTypeUPC = new LanguageType("eLanguageTypeUPC", lldbJNI.eLanguageTypeUPC_get());
public final static LanguageType eLanguageTypeD = new LanguageType("eLanguageTypeD", lldbJNI.eLanguageTypeD_get());
public final static LanguageType eLanguageTypePython = new LanguageType("eLanguageTypePython", lldbJNI.eLanguageTypePython_get());
public final static LanguageType eLanguageTypeOpenCL = new LanguageType("eLanguageTypeOpenCL", lldbJNI.eLanguageTypeOpenCL_get());
public final static LanguageType eLanguageTypeGo = new LanguageType("eLanguageTypeGo", lldbJNI.eLanguageTypeGo_get());
public final static LanguageType eLanguageTypeModula3 = new LanguageType("eLanguageTypeModula3", lldbJNI.eLanguageTypeModula3_get());
public final static LanguageType eLanguageTypeHaskell = new LanguageType("eLanguageTypeHaskell", lldbJNI.eLanguageTypeHaskell_get());
public final static LanguageType eLanguageTypeC_plus_plus_03 = new LanguageType("eLanguageTypeC_plus_plus_03", lldbJNI.eLanguageTypeC_plus_plus_03_get());
public final static LanguageType eLanguageTypeC_plus_plus_11 = new LanguageType("eLanguageTypeC_plus_plus_11", lldbJNI.eLanguageTypeC_plus_plus_11_get());
public final static LanguageType eLanguageTypeOCaml = new LanguageType("eLanguageTypeOCaml", lldbJNI.eLanguageTypeOCaml_get());
public final static LanguageType eLanguageTypeRust = new LanguageType("eLanguageTypeRust", lldbJNI.eLanguageTypeRust_get());
public final static LanguageType eLanguageTypeC11 = new LanguageType("eLanguageTypeC11", lldbJNI.eLanguageTypeC11_get());
public final static LanguageType eLanguageTypeSwift = new LanguageType("eLanguageTypeSwift", lldbJNI.eLanguageTypeSwift_get());
public final static LanguageType eLanguageTypeJulia = new LanguageType("eLanguageTypeJulia", lldbJNI.eLanguageTypeJulia_get());
public final static LanguageType eLanguageTypeDylan = new LanguageType("eLanguageTypeDylan", lldbJNI.eLanguageTypeDylan_get());
public final static LanguageType eLanguageTypeC_plus_plus_14 = new LanguageType("eLanguageTypeC_plus_plus_14", lldbJNI.eLanguageTypeC_plus_plus_14_get());
public final static LanguageType eLanguageTypeFortran03 = new LanguageType("eLanguageTypeFortran03", lldbJNI.eLanguageTypeFortran03_get());
public final static LanguageType eLanguageTypeFortran08 = new LanguageType("eLanguageTypeFortran08", lldbJNI.eLanguageTypeFortran08_get());
public final static LanguageType eLanguageTypeMipsAssembler = new LanguageType("eLanguageTypeMipsAssembler", lldbJNI.eLanguageTypeMipsAssembler_get());
public final static LanguageType eLanguageTypeExtRenderScript = new LanguageType("eLanguageTypeExtRenderScript", lldbJNI.eLanguageTypeExtRenderScript_get());
public final static LanguageType eNumLanguageTypes = new LanguageType("eNumLanguageTypes");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static LanguageType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + LanguageType.class + " with value " + swigValue);
}
private LanguageType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private LanguageType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private LanguageType(String swigName, LanguageType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static LanguageType[] swigValues = { eLanguageTypeUnknown, eLanguageTypeC89, eLanguageTypeC, eLanguageTypeAda83, eLanguageTypeC_plus_plus, eLanguageTypeCobol74, eLanguageTypeCobol85, eLanguageTypeFortran77, eLanguageTypeFortran90, eLanguageTypePascal83, eLanguageTypeModula2, eLanguageTypeJava, eLanguageTypeC99, eLanguageTypeAda95, eLanguageTypeFortran95, eLanguageTypePLI, eLanguageTypeObjC, eLanguageTypeObjC_plus_plus, eLanguageTypeUPC, eLanguageTypeD, eLanguageTypePython, eLanguageTypeOpenCL, eLanguageTypeGo, eLanguageTypeModula3, eLanguageTypeHaskell, eLanguageTypeC_plus_plus_03, eLanguageTypeC_plus_plus_11, eLanguageTypeOCaml, eLanguageTypeRust, eLanguageTypeC11, eLanguageTypeSwift, eLanguageTypeJulia, eLanguageTypeDylan, eLanguageTypeC_plus_plus_14, eLanguageTypeFortran03, eLanguageTypeFortran08, eLanguageTypeMipsAssembler, eLanguageTypeExtRenderScript, eNumLanguageTypes };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,71 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class LaunchFlags {
public final static LaunchFlags eLaunchFlagNone = new LaunchFlags("eLaunchFlagNone", lldbJNI.eLaunchFlagNone_get());
public final static LaunchFlags eLaunchFlagExec = new LaunchFlags("eLaunchFlagExec", lldbJNI.eLaunchFlagExec_get());
public final static LaunchFlags eLaunchFlagDebug = new LaunchFlags("eLaunchFlagDebug", lldbJNI.eLaunchFlagDebug_get());
public final static LaunchFlags eLaunchFlagStopAtEntry = new LaunchFlags("eLaunchFlagStopAtEntry", lldbJNI.eLaunchFlagStopAtEntry_get());
public final static LaunchFlags eLaunchFlagDisableASLR = new LaunchFlags("eLaunchFlagDisableASLR", lldbJNI.eLaunchFlagDisableASLR_get());
public final static LaunchFlags eLaunchFlagDisableSTDIO = new LaunchFlags("eLaunchFlagDisableSTDIO", lldbJNI.eLaunchFlagDisableSTDIO_get());
public final static LaunchFlags eLaunchFlagLaunchInTTY = new LaunchFlags("eLaunchFlagLaunchInTTY", lldbJNI.eLaunchFlagLaunchInTTY_get());
public final static LaunchFlags eLaunchFlagLaunchInShell = new LaunchFlags("eLaunchFlagLaunchInShell", lldbJNI.eLaunchFlagLaunchInShell_get());
public final static LaunchFlags eLaunchFlagLaunchInSeparateProcessGroup = new LaunchFlags("eLaunchFlagLaunchInSeparateProcessGroup", lldbJNI.eLaunchFlagLaunchInSeparateProcessGroup_get());
public final static LaunchFlags eLaunchFlagDontSetExitStatus = new LaunchFlags("eLaunchFlagDontSetExitStatus", lldbJNI.eLaunchFlagDontSetExitStatus_get());
public final static LaunchFlags eLaunchFlagDetachOnError = new LaunchFlags("eLaunchFlagDetachOnError", lldbJNI.eLaunchFlagDetachOnError_get());
public final static LaunchFlags eLaunchFlagShellExpandArguments = new LaunchFlags("eLaunchFlagShellExpandArguments", lldbJNI.eLaunchFlagShellExpandArguments_get());
public final static LaunchFlags eLaunchFlagCloseTTYOnExit = new LaunchFlags("eLaunchFlagCloseTTYOnExit", lldbJNI.eLaunchFlagCloseTTYOnExit_get());
public final static LaunchFlags eLaunchFlagInheritTCCFromParent = new LaunchFlags("eLaunchFlagInheritTCCFromParent", lldbJNI.eLaunchFlagInheritTCCFromParent_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static LaunchFlags swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + LaunchFlags.class + " with value " + swigValue);
}
private LaunchFlags(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private LaunchFlags(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private LaunchFlags(String swigName, LaunchFlags swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static LaunchFlags[] swigValues = { eLaunchFlagNone, eLaunchFlagExec, eLaunchFlagDebug, eLaunchFlagStopAtEntry, eLaunchFlagDisableASLR, eLaunchFlagDisableSTDIO, eLaunchFlagLaunchInTTY, eLaunchFlagLaunchInShell, eLaunchFlagLaunchInSeparateProcessGroup, eLaunchFlagDontSetExitStatus, eLaunchFlagDetachOnError, eLaunchFlagShellExpandArguments, eLaunchFlagCloseTTYOnExit, eLaunchFlagInheritTCCFromParent };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class MatchType {
public final static MatchType eMatchTypeNormal = new MatchType("eMatchTypeNormal");
public final static MatchType eMatchTypeRegex = new MatchType("eMatchTypeRegex");
public final static MatchType eMatchTypeStartsWith = new MatchType("eMatchTypeStartsWith");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static MatchType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + MatchType.class + " with value " + swigValue);
}
private MatchType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private MatchType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private MatchType(String swigName, MatchType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static MatchType[] swigValues = { eMatchTypeNormal, eMatchTypeRegex, eMatchTypeStartsWith };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,62 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class MemberFunctionKind {
public final static MemberFunctionKind eMemberFunctionKindUnknown = new MemberFunctionKind("eMemberFunctionKindUnknown", lldbJNI.eMemberFunctionKindUnknown_get());
public final static MemberFunctionKind eMemberFunctionKindConstructor = new MemberFunctionKind("eMemberFunctionKindConstructor");
public final static MemberFunctionKind eMemberFunctionKindDestructor = new MemberFunctionKind("eMemberFunctionKindDestructor");
public final static MemberFunctionKind eMemberFunctionKindInstanceMethod = new MemberFunctionKind("eMemberFunctionKindInstanceMethod");
public final static MemberFunctionKind eMemberFunctionKindStaticMethod = new MemberFunctionKind("eMemberFunctionKindStaticMethod");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static MemberFunctionKind swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + MemberFunctionKind.class + " with value " + swigValue);
}
private MemberFunctionKind(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private MemberFunctionKind(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private MemberFunctionKind(String swigName, MemberFunctionKind swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static MemberFunctionKind[] swigValues = { eMemberFunctionKindUnknown, eMemberFunctionKindConstructor, eMemberFunctionKindDestructor, eMemberFunctionKindInstanceMethod, eMemberFunctionKindStaticMethod };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,66 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class PathType {
public final static PathType ePathTypeLLDBShlibDir = new PathType("ePathTypeLLDBShlibDir");
public final static PathType ePathTypeSupportExecutableDir = new PathType("ePathTypeSupportExecutableDir");
public final static PathType ePathTypeHeaderDir = new PathType("ePathTypeHeaderDir");
public final static PathType ePathTypePythonDir = new PathType("ePathTypePythonDir");
public final static PathType ePathTypeLLDBSystemPlugins = new PathType("ePathTypeLLDBSystemPlugins");
public final static PathType ePathTypeLLDBUserPlugins = new PathType("ePathTypeLLDBUserPlugins");
public final static PathType ePathTypeLLDBTempSystemDir = new PathType("ePathTypeLLDBTempSystemDir");
public final static PathType ePathTypeGlobalLLDBTempSystemDir = new PathType("ePathTypeGlobalLLDBTempSystemDir");
public final static PathType ePathTypeClangDir = new PathType("ePathTypeClangDir");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static PathType swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + PathType.class + " with value " + swigValue);
}
private PathType(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private PathType(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private PathType(String swigName, PathType swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static PathType[] swigValues = { ePathTypeLLDBShlibDir, ePathTypeSupportExecutableDir, ePathTypeHeaderDir, ePathTypePythonDir, ePathTypeLLDBSystemPlugins, ePathTypeLLDBUserPlugins, ePathTypeLLDBTempSystemDir, ePathTypeGlobalLLDBTempSystemDir, ePathTypeClangDir };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class Permissions {
public final static Permissions ePermissionsWritable = new Permissions("ePermissionsWritable", lldbJNI.ePermissionsWritable_get());
public final static Permissions ePermissionsReadable = new Permissions("ePermissionsReadable", lldbJNI.ePermissionsReadable_get());
public final static Permissions ePermissionsExecutable = new Permissions("ePermissionsExecutable", lldbJNI.ePermissionsExecutable_get());
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static Permissions swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + Permissions.class + " with value " + swigValue);
}
private Permissions(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private Permissions(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private Permissions(String swigName, Permissions swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static Permissions[] swigValues = { ePermissionsWritable, ePermissionsReadable, ePermissionsExecutable };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class QueueItemKind {
public final static QueueItemKind eQueueItemKindUnknown = new QueueItemKind("eQueueItemKindUnknown", lldbJNI.eQueueItemKindUnknown_get());
public final static QueueItemKind eQueueItemKindFunction = new QueueItemKind("eQueueItemKindFunction");
public final static QueueItemKind eQueueItemKindBlock = new QueueItemKind("eQueueItemKindBlock");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static QueueItemKind swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + QueueItemKind.class + " with value " + swigValue);
}
private QueueItemKind(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private QueueItemKind(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private QueueItemKind(String swigName, QueueItemKind swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static QueueItemKind[] swigValues = { eQueueItemKindUnknown, eQueueItemKindFunction, eQueueItemKindBlock };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class QueueKind {
public final static QueueKind eQueueKindUnknown = new QueueKind("eQueueKindUnknown", lldbJNI.eQueueKindUnknown_get());
public final static QueueKind eQueueKindSerial = new QueueKind("eQueueKindSerial");
public final static QueueKind eQueueKindConcurrent = new QueueKind("eQueueKindConcurrent");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static QueueKind swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + QueueKind.class + " with value " + swigValue);
}
private QueueKind(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private QueueKind(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private QueueKind(String swigName, QueueKind swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static QueueKind[] swigValues = { eQueueKindUnknown, eQueueKindSerial, eQueueKindConcurrent };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,63 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class RegisterKind {
public final static RegisterKind eRegisterKindEHFrame = new RegisterKind("eRegisterKindEHFrame", lldbJNI.eRegisterKindEHFrame_get());
public final static RegisterKind eRegisterKindDWARF = new RegisterKind("eRegisterKindDWARF");
public final static RegisterKind eRegisterKindGeneric = new RegisterKind("eRegisterKindGeneric");
public final static RegisterKind eRegisterKindProcessPlugin = new RegisterKind("eRegisterKindProcessPlugin");
public final static RegisterKind eRegisterKindLLDB = new RegisterKind("eRegisterKindLLDB");
public final static RegisterKind kNumRegisterKinds = new RegisterKind("kNumRegisterKinds");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static RegisterKind swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + RegisterKind.class + " with value " + swigValue);
}
private RegisterKind(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private RegisterKind(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private RegisterKind(String swigName, RegisterKind swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static RegisterKind[] swigValues = { eRegisterKindEHFrame, eRegisterKindDWARF, eRegisterKindGeneric, eRegisterKindProcessPlugin, eRegisterKindLLDB, kNumRegisterKinds };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,65 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class ReturnStatus {
public final static ReturnStatus eReturnStatusInvalid = new ReturnStatus("eReturnStatusInvalid");
public final static ReturnStatus eReturnStatusSuccessFinishNoResult = new ReturnStatus("eReturnStatusSuccessFinishNoResult");
public final static ReturnStatus eReturnStatusSuccessFinishResult = new ReturnStatus("eReturnStatusSuccessFinishResult");
public final static ReturnStatus eReturnStatusSuccessContinuingNoResult = new ReturnStatus("eReturnStatusSuccessContinuingNoResult");
public final static ReturnStatus eReturnStatusSuccessContinuingResult = new ReturnStatus("eReturnStatusSuccessContinuingResult");
public final static ReturnStatus eReturnStatusStarted = new ReturnStatus("eReturnStatusStarted");
public final static ReturnStatus eReturnStatusFailed = new ReturnStatus("eReturnStatusFailed");
public final static ReturnStatus eReturnStatusQuit = new ReturnStatus("eReturnStatusQuit");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static ReturnStatus swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + ReturnStatus.class + " with value " + swigValue);
}
private ReturnStatus(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private ReturnStatus(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private ReturnStatus(String swigName, ReturnStatus swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static ReturnStatus[] swigValues = { eReturnStatusInvalid, eReturnStatusSuccessFinishNoResult, eReturnStatusSuccessFinishResult, eReturnStatusSuccessContinuingNoResult, eReturnStatusSuccessContinuingResult, eReturnStatusStarted, eReturnStatusFailed, eReturnStatusQuit };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,60 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public final class RunMode {
public final static RunMode eOnlyThisThread = new RunMode("eOnlyThisThread");
public final static RunMode eAllThreads = new RunMode("eAllThreads");
public final static RunMode eOnlyDuringStepping = new RunMode("eOnlyDuringStepping");
public final int swigValue() {
return swigValue;
}
public String toString() {
return swigName;
}
public static RunMode swigToEnum(int swigValue) {
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (int i = 0; i < swigValues.length; i++)
if (swigValues[i].swigValue == swigValue)
return swigValues[i];
throw new IllegalArgumentException("No enum " + RunMode.class + " with value " + swigValue);
}
private RunMode(String swigName) {
this.swigName = swigName;
this.swigValue = swigNext++;
}
private RunMode(String swigName, int swigValue) {
this.swigName = swigName;
this.swigValue = swigValue;
swigNext = swigValue+1;
}
private RunMode(String swigName, RunMode swigEnum) {
this.swigName = swigName;
this.swigValue = swigEnum.swigValue;
swigNext = this.swigValue+1;
}
private static RunMode[] swigValues = { eOnlyThisThread, eAllThreads, eOnlyDuringStepping };
private static int swigNext = 0;
private final int swigValue;
private final String swigName;
}

View File

@ -0,0 +1,132 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBAddress {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBAddress(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBAddress obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBAddress(swigCPtr);
}
swigCPtr = 0;
}
}
public SBAddress() {
this(lldbJNI.new_SBAddress__SWIG_0(), true);
}
public SBAddress(SBAddress rhs) {
this(lldbJNI.new_SBAddress__SWIG_1(SBAddress.getCPtr(rhs), rhs), true);
}
public SBAddress(SBSection section, java.math.BigInteger offset) {
this(lldbJNI.new_SBAddress__SWIG_2(SBSection.getCPtr(section), section, offset), true);
}
public SBAddress(java.math.BigInteger load_addr, SBTarget target) {
this(lldbJNI.new_SBAddress__SWIG_3(load_addr, SBTarget.getCPtr(target), target), true);
}
public boolean IsValid() {
return lldbJNI.SBAddress_IsValid(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBAddress_Clear(swigCPtr, this);
}
public java.math.BigInteger GetFileAddress() {
return lldbJNI.SBAddress_GetFileAddress(swigCPtr, this);
}
public java.math.BigInteger GetLoadAddress(SBTarget target) {
return lldbJNI.SBAddress_GetLoadAddress(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public void SetLoadAddress(java.math.BigInteger load_addr, SBTarget target) {
lldbJNI.SBAddress_SetLoadAddress(swigCPtr, this, load_addr, SBTarget.getCPtr(target), target);
}
public boolean OffsetAddress(java.math.BigInteger offset) {
return lldbJNI.SBAddress_OffsetAddress(swigCPtr, this, offset);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBAddress_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public SBSection GetSection() {
return new SBSection(lldbJNI.SBAddress_GetSection(swigCPtr, this), true);
}
public java.math.BigInteger GetOffset() {
return lldbJNI.SBAddress_GetOffset(swigCPtr, this);
}
public void SetAddress(SBSection section, java.math.BigInteger offset) {
lldbJNI.SBAddress_SetAddress(swigCPtr, this, SBSection.getCPtr(section), section, offset);
}
public SBSymbolContext GetSymbolContext(long resolve_scope) {
return new SBSymbolContext(lldbJNI.SBAddress_GetSymbolContext(swigCPtr, this, resolve_scope), true);
}
public SBModule GetModule() {
return new SBModule(lldbJNI.SBAddress_GetModule(swigCPtr, this), true);
}
public SBCompileUnit GetCompileUnit() {
return new SBCompileUnit(lldbJNI.SBAddress_GetCompileUnit(swigCPtr, this), true);
}
public SBFunction GetFunction() {
return new SBFunction(lldbJNI.SBAddress_GetFunction(swigCPtr, this), true);
}
public SBBlock GetBlock() {
return new SBBlock(lldbJNI.SBAddress_GetBlock(swigCPtr, this), true);
}
public SBSymbol GetSymbol() {
return new SBSymbol(lldbJNI.SBAddress_GetSymbol(swigCPtr, this), true);
}
public SBLineEntry GetLineEntry() {
return new SBLineEntry(lldbJNI.SBAddress_GetLineEntry(swigCPtr, this), true);
}
public String __str__() {
return lldbJNI.SBAddress___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,184 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBAttachInfo {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBAttachInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBAttachInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBAttachInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public SBAttachInfo() {
this(lldbJNI.new_SBAttachInfo__SWIG_0(), true);
}
public SBAttachInfo(java.math.BigInteger pid) {
this(lldbJNI.new_SBAttachInfo__SWIG_1(pid), true);
}
public SBAttachInfo(String path, boolean wait_for) {
this(lldbJNI.new_SBAttachInfo__SWIG_2(path, wait_for), true);
}
public SBAttachInfo(String path, boolean wait_for, boolean async) {
this(lldbJNI.new_SBAttachInfo__SWIG_3(path, wait_for, async), true);
}
public SBAttachInfo(SBAttachInfo rhs) {
this(lldbJNI.new_SBAttachInfo__SWIG_4(SBAttachInfo.getCPtr(rhs), rhs), true);
}
public java.math.BigInteger GetProcessID() {
return lldbJNI.SBAttachInfo_GetProcessID(swigCPtr, this);
}
public void SetProcessID(java.math.BigInteger pid) {
lldbJNI.SBAttachInfo_SetProcessID(swigCPtr, this, pid);
}
public void SetExecutable(String path) {
lldbJNI.SBAttachInfo_SetExecutable__SWIG_0(swigCPtr, this, path);
}
public void SetExecutable(SBFileSpec exe_file) {
lldbJNI.SBAttachInfo_SetExecutable__SWIG_1(swigCPtr, this, SBFileSpec.getCPtr(exe_file), exe_file);
}
public boolean GetWaitForLaunch() {
return lldbJNI.SBAttachInfo_GetWaitForLaunch(swigCPtr, this);
}
public void SetWaitForLaunch(boolean b) {
lldbJNI.SBAttachInfo_SetWaitForLaunch__SWIG_0(swigCPtr, this, b);
}
public void SetWaitForLaunch(boolean b, boolean async) {
lldbJNI.SBAttachInfo_SetWaitForLaunch__SWIG_1(swigCPtr, this, b, async);
}
public boolean GetIgnoreExisting() {
return lldbJNI.SBAttachInfo_GetIgnoreExisting(swigCPtr, this);
}
public void SetIgnoreExisting(boolean b) {
lldbJNI.SBAttachInfo_SetIgnoreExisting(swigCPtr, this, b);
}
public long GetResumeCount() {
return lldbJNI.SBAttachInfo_GetResumeCount(swigCPtr, this);
}
public void SetResumeCount(long c) {
lldbJNI.SBAttachInfo_SetResumeCount(swigCPtr, this, c);
}
public String GetProcessPluginName() {
return lldbJNI.SBAttachInfo_GetProcessPluginName(swigCPtr, this);
}
public void SetProcessPluginName(String plugin_name) {
lldbJNI.SBAttachInfo_SetProcessPluginName(swigCPtr, this, plugin_name);
}
public long GetUserID() {
return lldbJNI.SBAttachInfo_GetUserID(swigCPtr, this);
}
public long GetGroupID() {
return lldbJNI.SBAttachInfo_GetGroupID(swigCPtr, this);
}
public boolean UserIDIsValid() {
return lldbJNI.SBAttachInfo_UserIDIsValid(swigCPtr, this);
}
public boolean GroupIDIsValid() {
return lldbJNI.SBAttachInfo_GroupIDIsValid(swigCPtr, this);
}
public void SetUserID(long uid) {
lldbJNI.SBAttachInfo_SetUserID(swigCPtr, this, uid);
}
public void SetGroupID(long gid) {
lldbJNI.SBAttachInfo_SetGroupID(swigCPtr, this, gid);
}
public long GetEffectiveUserID() {
return lldbJNI.SBAttachInfo_GetEffectiveUserID(swigCPtr, this);
}
public long GetEffectiveGroupID() {
return lldbJNI.SBAttachInfo_GetEffectiveGroupID(swigCPtr, this);
}
public boolean EffectiveUserIDIsValid() {
return lldbJNI.SBAttachInfo_EffectiveUserIDIsValid(swigCPtr, this);
}
public boolean EffectiveGroupIDIsValid() {
return lldbJNI.SBAttachInfo_EffectiveGroupIDIsValid(swigCPtr, this);
}
public void SetEffectiveUserID(long uid) {
lldbJNI.SBAttachInfo_SetEffectiveUserID(swigCPtr, this, uid);
}
public void SetEffectiveGroupID(long gid) {
lldbJNI.SBAttachInfo_SetEffectiveGroupID(swigCPtr, this, gid);
}
public java.math.BigInteger GetParentProcessID() {
return lldbJNI.SBAttachInfo_GetParentProcessID(swigCPtr, this);
}
public void SetParentProcessID(java.math.BigInteger pid) {
lldbJNI.SBAttachInfo_SetParentProcessID(swigCPtr, this, pid);
}
public boolean ParentProcessIDIsValid() {
return lldbJNI.SBAttachInfo_ParentProcessIDIsValid(swigCPtr, this);
}
public SBListener GetListener() {
return new SBListener(lldbJNI.SBAttachInfo_GetListener(swigCPtr, this), true);
}
public void SetListener(SBListener listener) {
lldbJNI.SBAttachInfo_SetListener(swigCPtr, this, SBListener.getCPtr(listener), listener);
}
}

View File

@ -0,0 +1,124 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBBlock {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBBlock(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBBlock obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBBlock(swigCPtr);
}
swigCPtr = 0;
}
}
public SBBlock() {
this(lldbJNI.new_SBBlock__SWIG_0(), true);
}
public SBBlock(SBBlock rhs) {
this(lldbJNI.new_SBBlock__SWIG_1(SBBlock.getCPtr(rhs), rhs), true);
}
public boolean IsInlined() {
return lldbJNI.SBBlock_IsInlined(swigCPtr, this);
}
public boolean IsValid() {
return lldbJNI.SBBlock_IsValid(swigCPtr, this);
}
public String GetInlinedName() {
return lldbJNI.SBBlock_GetInlinedName(swigCPtr, this);
}
public SBFileSpec GetInlinedCallSiteFile() {
return new SBFileSpec(lldbJNI.SBBlock_GetInlinedCallSiteFile(swigCPtr, this), true);
}
public long GetInlinedCallSiteLine() {
return lldbJNI.SBBlock_GetInlinedCallSiteLine(swigCPtr, this);
}
public long GetInlinedCallSiteColumn() {
return lldbJNI.SBBlock_GetInlinedCallSiteColumn(swigCPtr, this);
}
public SBBlock GetParent() {
return new SBBlock(lldbJNI.SBBlock_GetParent(swigCPtr, this), true);
}
public SBBlock GetContainingInlinedBlock() {
return new SBBlock(lldbJNI.SBBlock_GetContainingInlinedBlock(swigCPtr, this), true);
}
public SBBlock GetSibling() {
return new SBBlock(lldbJNI.SBBlock_GetSibling(swigCPtr, this), true);
}
public SBBlock GetFirstChild() {
return new SBBlock(lldbJNI.SBBlock_GetFirstChild(swigCPtr, this), true);
}
public long GetNumRanges() {
return lldbJNI.SBBlock_GetNumRanges(swigCPtr, this);
}
public SBAddress GetRangeStartAddress(long idx) {
return new SBAddress(lldbJNI.SBBlock_GetRangeStartAddress(swigCPtr, this, idx), true);
}
public SBAddress GetRangeEndAddress(long idx) {
return new SBAddress(lldbJNI.SBBlock_GetRangeEndAddress(swigCPtr, this, idx), true);
}
public long GetRangeIndexForBlockAddress(SBAddress block_addr) {
return lldbJNI.SBBlock_GetRangeIndexForBlockAddress(swigCPtr, this, SBAddress.getCPtr(block_addr), block_addr);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBBlock_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public SBValueList GetVariables(SBFrame frame, boolean arguments, boolean locals, boolean statics, DynamicValueType use_dynamic) {
return new SBValueList(lldbJNI.SBBlock_GetVariables__SWIG_0(swigCPtr, this, SBFrame.getCPtr(frame), frame, arguments, locals, statics, use_dynamic.swigValue()), true);
}
public SBValueList GetVariables(SBTarget target, boolean arguments, boolean locals, boolean statics) {
return new SBValueList(lldbJNI.SBBlock_GetVariables__SWIG_1(swigCPtr, this, SBTarget.getCPtr(target), target, arguments, locals, statics), true);
}
public String __str__() {
return lldbJNI.SBBlock___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,256 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBBreakpoint {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBBreakpoint(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBBreakpoint obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBBreakpoint(swigCPtr);
}
swigCPtr = 0;
}
}
public SBBreakpoint() {
this(lldbJNI.new_SBBreakpoint__SWIG_0(), true);
}
public SBBreakpoint(SBBreakpoint rhs) {
this(lldbJNI.new_SBBreakpoint__SWIG_1(SBBreakpoint.getCPtr(rhs), rhs), true);
}
public int GetID() {
return lldbJNI.SBBreakpoint_GetID(swigCPtr, this);
}
public boolean IsValid() {
return lldbJNI.SBBreakpoint_IsValid(swigCPtr, this);
}
public void ClearAllBreakpointSites() {
lldbJNI.SBBreakpoint_ClearAllBreakpointSites(swigCPtr, this);
}
public SBTarget GetTarget() {
return new SBTarget(lldbJNI.SBBreakpoint_GetTarget(swigCPtr, this), true);
}
public SBBreakpointLocation FindLocationByAddress(java.math.BigInteger vm_addr) {
return new SBBreakpointLocation(lldbJNI.SBBreakpoint_FindLocationByAddress(swigCPtr, this, vm_addr), true);
}
public int FindLocationIDByAddress(java.math.BigInteger vm_addr) {
return lldbJNI.SBBreakpoint_FindLocationIDByAddress(swigCPtr, this, vm_addr);
}
public SBBreakpointLocation FindLocationByID(int bp_loc_id) {
return new SBBreakpointLocation(lldbJNI.SBBreakpoint_FindLocationByID(swigCPtr, this, bp_loc_id), true);
}
public SBBreakpointLocation GetLocationAtIndex(long index) {
return new SBBreakpointLocation(lldbJNI.SBBreakpoint_GetLocationAtIndex(swigCPtr, this, index), true);
}
public void SetEnabled(boolean enable) {
lldbJNI.SBBreakpoint_SetEnabled(swigCPtr, this, enable);
}
public boolean IsEnabled() {
return lldbJNI.SBBreakpoint_IsEnabled(swigCPtr, this);
}
public void SetOneShot(boolean one_shot) {
lldbJNI.SBBreakpoint_SetOneShot(swigCPtr, this, one_shot);
}
public boolean IsOneShot() {
return lldbJNI.SBBreakpoint_IsOneShot(swigCPtr, this);
}
public boolean IsInternal() {
return lldbJNI.SBBreakpoint_IsInternal(swigCPtr, this);
}
public long GetHitCount() {
return lldbJNI.SBBreakpoint_GetHitCount(swigCPtr, this);
}
public void SetIgnoreCount(long count) {
lldbJNI.SBBreakpoint_SetIgnoreCount(swigCPtr, this, count);
}
public long GetIgnoreCount() {
return lldbJNI.SBBreakpoint_GetIgnoreCount(swigCPtr, this);
}
public void SetCondition(String condition) {
lldbJNI.SBBreakpoint_SetCondition(swigCPtr, this, condition);
}
public String GetCondition() {
return lldbJNI.SBBreakpoint_GetCondition(swigCPtr, this);
}
public void SetAutoContinue(boolean auto_continue) {
lldbJNI.SBBreakpoint_SetAutoContinue(swigCPtr, this, auto_continue);
}
public boolean GetAutoContinue() {
return lldbJNI.SBBreakpoint_GetAutoContinue(swigCPtr, this);
}
public void SetThreadID(java.math.BigInteger sb_thread_id) {
lldbJNI.SBBreakpoint_SetThreadID(swigCPtr, this, sb_thread_id);
}
public java.math.BigInteger GetThreadID() {
return lldbJNI.SBBreakpoint_GetThreadID(swigCPtr, this);
}
public void SetThreadIndex(long index) {
lldbJNI.SBBreakpoint_SetThreadIndex(swigCPtr, this, index);
}
public long GetThreadIndex() {
return lldbJNI.SBBreakpoint_GetThreadIndex(swigCPtr, this);
}
public void SetThreadName(String thread_name) {
lldbJNI.SBBreakpoint_SetThreadName(swigCPtr, this, thread_name);
}
public String GetThreadName() {
return lldbJNI.SBBreakpoint_GetThreadName(swigCPtr, this);
}
public void SetQueueName(String queue_name) {
lldbJNI.SBBreakpoint_SetQueueName(swigCPtr, this, queue_name);
}
public String GetQueueName() {
return lldbJNI.SBBreakpoint_GetQueueName(swigCPtr, this);
}
public void SetScriptCallbackFunction(String callback_function_name) {
lldbJNI.SBBreakpoint_SetScriptCallbackFunction__SWIG_0(swigCPtr, this, callback_function_name);
}
public SBError SetScriptCallbackFunction(String callback_function_name, SBStructuredData extra_args) {
return new SBError(lldbJNI.SBBreakpoint_SetScriptCallbackFunction__SWIG_1(swigCPtr, this, callback_function_name, SBStructuredData.getCPtr(extra_args), extra_args), true);
}
public SBError SetScriptCallbackBody(String script_body_text) {
return new SBError(lldbJNI.SBBreakpoint_SetScriptCallbackBody(swigCPtr, this, script_body_text), true);
}
public void SetCommandLineCommands(SBStringList commands) {
lldbJNI.SBBreakpoint_SetCommandLineCommands(swigCPtr, this, SBStringList.getCPtr(commands), commands);
}
public boolean GetCommandLineCommands(SBStringList commands) {
return lldbJNI.SBBreakpoint_GetCommandLineCommands(swigCPtr, this, SBStringList.getCPtr(commands), commands);
}
public boolean AddName(String new_name) {
return lldbJNI.SBBreakpoint_AddName(swigCPtr, this, new_name);
}
public SBError AddNameWithErrorHandling(String new_name) {
return new SBError(lldbJNI.SBBreakpoint_AddNameWithErrorHandling(swigCPtr, this, new_name), true);
}
public void RemoveName(String name_to_remove) {
lldbJNI.SBBreakpoint_RemoveName(swigCPtr, this, name_to_remove);
}
public boolean MatchesName(String name) {
return lldbJNI.SBBreakpoint_MatchesName(swigCPtr, this, name);
}
public void GetNames(SBStringList names) {
lldbJNI.SBBreakpoint_GetNames(swigCPtr, this, SBStringList.getCPtr(names), names);
}
public long GetNumResolvedLocations() {
return lldbJNI.SBBreakpoint_GetNumResolvedLocations(swigCPtr, this);
}
public long GetNumLocations() {
return lldbJNI.SBBreakpoint_GetNumLocations(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBBreakpoint_GetDescription__SWIG_0(swigCPtr, this, SBStream.getCPtr(description), description);
}
public boolean GetDescription(SBStream description, boolean include_locations) {
return lldbJNI.SBBreakpoint_GetDescription__SWIG_1(swigCPtr, this, SBStream.getCPtr(description), description, include_locations);
}
public SBError AddLocation(SBAddress address) {
return new SBError(lldbJNI.SBBreakpoint_AddLocation(swigCPtr, this, SBAddress.getCPtr(address), address), true);
}
public SBStructuredData SerializeToStructuredData() {
return new SBStructuredData(lldbJNI.SBBreakpoint_SerializeToStructuredData(swigCPtr, this), true);
}
public static boolean EventIsBreakpointEvent(SBEvent event) {
return lldbJNI.SBBreakpoint_EventIsBreakpointEvent(SBEvent.getCPtr(event), event);
}
public static BreakpointEventType GetBreakpointEventTypeFromEvent(SBEvent event) {
return BreakpointEventType.swigToEnum(lldbJNI.SBBreakpoint_GetBreakpointEventTypeFromEvent(SBEvent.getCPtr(event), event));
}
public static SBBreakpoint GetBreakpointFromEvent(SBEvent event) {
return new SBBreakpoint(lldbJNI.SBBreakpoint_GetBreakpointFromEvent(SBEvent.getCPtr(event), event), true);
}
public static SBBreakpointLocation GetBreakpointLocationAtIndexFromEvent(SBEvent event, long loc_idx) {
return new SBBreakpointLocation(lldbJNI.SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(SBEvent.getCPtr(event), event, loc_idx), true);
}
public static long GetNumBreakpointLocationsFromEvent(SBEvent event_sp) {
return lldbJNI.SBBreakpoint_GetNumBreakpointLocationsFromEvent(SBEvent.getCPtr(event_sp), event_sp);
}
public boolean IsHardware() {
return lldbJNI.SBBreakpoint_IsHardware(swigCPtr, this);
}
public String __str__() {
return lldbJNI.SBBreakpoint___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,76 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBBreakpointList {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBBreakpointList(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBBreakpointList obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBBreakpointList(swigCPtr);
}
swigCPtr = 0;
}
}
public SBBreakpointList(SBTarget target) {
this(lldbJNI.new_SBBreakpointList(SBTarget.getCPtr(target), target), true);
}
public long GetSize() {
return lldbJNI.SBBreakpointList_GetSize(swigCPtr, this);
}
public SBBreakpoint GetBreakpointAtIndex(long idx) {
return new SBBreakpoint(lldbJNI.SBBreakpointList_GetBreakpointAtIndex(swigCPtr, this, idx), true);
}
public SBBreakpoint FindBreakpointByID(int arg0) {
return new SBBreakpoint(lldbJNI.SBBreakpointList_FindBreakpointByID(swigCPtr, this, arg0), true);
}
public void Append(SBBreakpoint sb_bkpt) {
lldbJNI.SBBreakpointList_Append(swigCPtr, this, SBBreakpoint.getCPtr(sb_bkpt), sb_bkpt);
}
public boolean AppendIfUnique(SBBreakpoint sb_bkpt) {
return lldbJNI.SBBreakpointList_AppendIfUnique(swigCPtr, this, SBBreakpoint.getCPtr(sb_bkpt), sb_bkpt);
}
public void AppendByID(int id) {
lldbJNI.SBBreakpointList_AppendByID(swigCPtr, this, id);
}
public void Clear() {
lldbJNI.SBBreakpointList_Clear(swigCPtr, this);
}
}

View File

@ -0,0 +1,172 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBBreakpointLocation {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBBreakpointLocation(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBBreakpointLocation obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBBreakpointLocation(swigCPtr);
}
swigCPtr = 0;
}
}
public SBBreakpointLocation() {
this(lldbJNI.new_SBBreakpointLocation__SWIG_0(), true);
}
public SBBreakpointLocation(SBBreakpointLocation rhs) {
this(lldbJNI.new_SBBreakpointLocation__SWIG_1(SBBreakpointLocation.getCPtr(rhs), rhs), true);
}
public int GetID() {
return lldbJNI.SBBreakpointLocation_GetID(swigCPtr, this);
}
public boolean IsValid() {
return lldbJNI.SBBreakpointLocation_IsValid(swigCPtr, this);
}
public SBAddress GetAddress() {
return new SBAddress(lldbJNI.SBBreakpointLocation_GetAddress(swigCPtr, this), true);
}
public java.math.BigInteger GetLoadAddress() {
return lldbJNI.SBBreakpointLocation_GetLoadAddress(swigCPtr, this);
}
public void SetEnabled(boolean enabled) {
lldbJNI.SBBreakpointLocation_SetEnabled(swigCPtr, this, enabled);
}
public boolean IsEnabled() {
return lldbJNI.SBBreakpointLocation_IsEnabled(swigCPtr, this);
}
public long GetHitCount() {
return lldbJNI.SBBreakpointLocation_GetHitCount(swigCPtr, this);
}
public long GetIgnoreCount() {
return lldbJNI.SBBreakpointLocation_GetIgnoreCount(swigCPtr, this);
}
public void SetIgnoreCount(long n) {
lldbJNI.SBBreakpointLocation_SetIgnoreCount(swigCPtr, this, n);
}
public void SetCondition(String condition) {
lldbJNI.SBBreakpointLocation_SetCondition(swigCPtr, this, condition);
}
public String GetCondition() {
return lldbJNI.SBBreakpointLocation_GetCondition(swigCPtr, this);
}
public boolean GetAutoContinue() {
return lldbJNI.SBBreakpointLocation_GetAutoContinue(swigCPtr, this);
}
public void SetAutoContinue(boolean auto_continue) {
lldbJNI.SBBreakpointLocation_SetAutoContinue(swigCPtr, this, auto_continue);
}
public void SetScriptCallbackFunction(String callback_function_name) {
lldbJNI.SBBreakpointLocation_SetScriptCallbackFunction__SWIG_0(swigCPtr, this, callback_function_name);
}
public SBError SetScriptCallbackFunction(String callback_function_name, SBStructuredData extra_args) {
return new SBError(lldbJNI.SBBreakpointLocation_SetScriptCallbackFunction__SWIG_1(swigCPtr, this, callback_function_name, SBStructuredData.getCPtr(extra_args), extra_args), true);
}
public SBError SetScriptCallbackBody(String script_body_text) {
return new SBError(lldbJNI.SBBreakpointLocation_SetScriptCallbackBody(swigCPtr, this, script_body_text), true);
}
public void SetCommandLineCommands(SBStringList commands) {
lldbJNI.SBBreakpointLocation_SetCommandLineCommands(swigCPtr, this, SBStringList.getCPtr(commands), commands);
}
public boolean GetCommandLineCommands(SBStringList commands) {
return lldbJNI.SBBreakpointLocation_GetCommandLineCommands(swigCPtr, this, SBStringList.getCPtr(commands), commands);
}
public void SetThreadID(java.math.BigInteger sb_thread_id) {
lldbJNI.SBBreakpointLocation_SetThreadID(swigCPtr, this, sb_thread_id);
}
public java.math.BigInteger GetThreadID() {
return lldbJNI.SBBreakpointLocation_GetThreadID(swigCPtr, this);
}
public void SetThreadIndex(long index) {
lldbJNI.SBBreakpointLocation_SetThreadIndex(swigCPtr, this, index);
}
public long GetThreadIndex() {
return lldbJNI.SBBreakpointLocation_GetThreadIndex(swigCPtr, this);
}
public void SetThreadName(String thread_name) {
lldbJNI.SBBreakpointLocation_SetThreadName(swigCPtr, this, thread_name);
}
public String GetThreadName() {
return lldbJNI.SBBreakpointLocation_GetThreadName(swigCPtr, this);
}
public void SetQueueName(String queue_name) {
lldbJNI.SBBreakpointLocation_SetQueueName(swigCPtr, this, queue_name);
}
public String GetQueueName() {
return lldbJNI.SBBreakpointLocation_GetQueueName(swigCPtr, this);
}
public boolean IsResolved() {
return lldbJNI.SBBreakpointLocation_IsResolved(swigCPtr, this);
}
public boolean GetDescription(SBStream description, DescriptionLevel level) {
return lldbJNI.SBBreakpointLocation_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description, level.swigValue());
}
public SBBreakpoint GetBreakpoint() {
return new SBBreakpoint(lldbJNI.SBBreakpointLocation_GetBreakpoint(swigCPtr, this), true);
}
public String __str__() {
return lldbJNI.SBBreakpointLocation___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,200 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBBreakpointName {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBBreakpointName(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBBreakpointName obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBBreakpointName(swigCPtr);
}
swigCPtr = 0;
}
}
public SBBreakpointName() {
this(lldbJNI.new_SBBreakpointName__SWIG_0(), true);
}
public SBBreakpointName(SBTarget target, String name) {
this(lldbJNI.new_SBBreakpointName__SWIG_1(SBTarget.getCPtr(target), target, name), true);
}
public SBBreakpointName(SBBreakpoint bkpt, String name) {
this(lldbJNI.new_SBBreakpointName__SWIG_2(SBBreakpoint.getCPtr(bkpt), bkpt, name), true);
}
public SBBreakpointName(SBBreakpointName rhs) {
this(lldbJNI.new_SBBreakpointName__SWIG_3(SBBreakpointName.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBBreakpointName_IsValid(swigCPtr, this);
}
public String GetName() {
return lldbJNI.SBBreakpointName_GetName(swigCPtr, this);
}
public void SetEnabled(boolean enable) {
lldbJNI.SBBreakpointName_SetEnabled(swigCPtr, this, enable);
}
public boolean IsEnabled() {
return lldbJNI.SBBreakpointName_IsEnabled(swigCPtr, this);
}
public void SetOneShot(boolean one_shot) {
lldbJNI.SBBreakpointName_SetOneShot(swigCPtr, this, one_shot);
}
public boolean IsOneShot() {
return lldbJNI.SBBreakpointName_IsOneShot(swigCPtr, this);
}
public void SetIgnoreCount(long count) {
lldbJNI.SBBreakpointName_SetIgnoreCount(swigCPtr, this, count);
}
public long GetIgnoreCount() {
return lldbJNI.SBBreakpointName_GetIgnoreCount(swigCPtr, this);
}
public void SetCondition(String condition) {
lldbJNI.SBBreakpointName_SetCondition(swigCPtr, this, condition);
}
public String GetCondition() {
return lldbJNI.SBBreakpointName_GetCondition(swigCPtr, this);
}
public void SetAutoContinue(boolean auto_continue) {
lldbJNI.SBBreakpointName_SetAutoContinue(swigCPtr, this, auto_continue);
}
public boolean GetAutoContinue() {
return lldbJNI.SBBreakpointName_GetAutoContinue(swigCPtr, this);
}
public void SetThreadID(java.math.BigInteger sb_thread_id) {
lldbJNI.SBBreakpointName_SetThreadID(swigCPtr, this, sb_thread_id);
}
public java.math.BigInteger GetThreadID() {
return lldbJNI.SBBreakpointName_GetThreadID(swigCPtr, this);
}
public void SetThreadIndex(long index) {
lldbJNI.SBBreakpointName_SetThreadIndex(swigCPtr, this, index);
}
public long GetThreadIndex() {
return lldbJNI.SBBreakpointName_GetThreadIndex(swigCPtr, this);
}
public void SetThreadName(String thread_name) {
lldbJNI.SBBreakpointName_SetThreadName(swigCPtr, this, thread_name);
}
public String GetThreadName() {
return lldbJNI.SBBreakpointName_GetThreadName(swigCPtr, this);
}
public void SetQueueName(String queue_name) {
lldbJNI.SBBreakpointName_SetQueueName(swigCPtr, this, queue_name);
}
public String GetQueueName() {
return lldbJNI.SBBreakpointName_GetQueueName(swigCPtr, this);
}
public void SetScriptCallbackFunction(String callback_function_name) {
lldbJNI.SBBreakpointName_SetScriptCallbackFunction__SWIG_0(swigCPtr, this, callback_function_name);
}
public SBError SetScriptCallbackFunction(String callback_function_name, SBStructuredData extra_args) {
return new SBError(lldbJNI.SBBreakpointName_SetScriptCallbackFunction__SWIG_1(swigCPtr, this, callback_function_name, SBStructuredData.getCPtr(extra_args), extra_args), true);
}
public void SetCommandLineCommands(SBStringList commands) {
lldbJNI.SBBreakpointName_SetCommandLineCommands(swigCPtr, this, SBStringList.getCPtr(commands), commands);
}
public boolean GetCommandLineCommands(SBStringList commands) {
return lldbJNI.SBBreakpointName_GetCommandLineCommands(swigCPtr, this, SBStringList.getCPtr(commands), commands);
}
public SBError SetScriptCallbackBody(String script_body_text) {
return new SBError(lldbJNI.SBBreakpointName_SetScriptCallbackBody(swigCPtr, this, script_body_text), true);
}
public String GetHelpString() {
return lldbJNI.SBBreakpointName_GetHelpString(swigCPtr, this);
}
public void SetHelpString(String help_string) {
lldbJNI.SBBreakpointName_SetHelpString(swigCPtr, this, help_string);
}
public boolean GetAllowList() {
return lldbJNI.SBBreakpointName_GetAllowList(swigCPtr, this);
}
public void SetAllowList(boolean value) {
lldbJNI.SBBreakpointName_SetAllowList(swigCPtr, this, value);
}
public boolean GetAllowDelete() {
return lldbJNI.SBBreakpointName_GetAllowDelete(swigCPtr, this);
}
public void SetAllowDelete(boolean value) {
lldbJNI.SBBreakpointName_SetAllowDelete(swigCPtr, this, value);
}
public boolean GetAllowDisable() {
return lldbJNI.SBBreakpointName_GetAllowDisable(swigCPtr, this);
}
public void SetAllowDisable(boolean value) {
lldbJNI.SBBreakpointName_SetAllowDisable(swigCPtr, this, value);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBBreakpointName_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBBreakpointName___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,104 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBBroadcaster {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBBroadcaster(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBBroadcaster obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBBroadcaster(swigCPtr);
}
swigCPtr = 0;
}
}
public SBBroadcaster() {
this(lldbJNI.new_SBBroadcaster__SWIG_0(), true);
}
public SBBroadcaster(String name) {
this(lldbJNI.new_SBBroadcaster__SWIG_1(name), true);
}
public SBBroadcaster(SBBroadcaster rhs) {
this(lldbJNI.new_SBBroadcaster__SWIG_2(SBBroadcaster.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBBroadcaster_IsValid(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBBroadcaster_Clear(swigCPtr, this);
}
public void BroadcastEventByType(long event_type, boolean unique) {
lldbJNI.SBBroadcaster_BroadcastEventByType__SWIG_0(swigCPtr, this, event_type, unique);
}
public void BroadcastEventByType(long event_type) {
lldbJNI.SBBroadcaster_BroadcastEventByType__SWIG_1(swigCPtr, this, event_type);
}
public void BroadcastEvent(SBEvent event, boolean unique) {
lldbJNI.SBBroadcaster_BroadcastEvent__SWIG_0(swigCPtr, this, SBEvent.getCPtr(event), event, unique);
}
public void BroadcastEvent(SBEvent event) {
lldbJNI.SBBroadcaster_BroadcastEvent__SWIG_1(swigCPtr, this, SBEvent.getCPtr(event), event);
}
public void AddInitialEventsToListener(SBListener listener, long requested_events) {
lldbJNI.SBBroadcaster_AddInitialEventsToListener(swigCPtr, this, SBListener.getCPtr(listener), listener, requested_events);
}
public long AddListener(SBListener listener, long event_mask) {
return lldbJNI.SBBroadcaster_AddListener(swigCPtr, this, SBListener.getCPtr(listener), listener, event_mask);
}
public String GetName() {
return lldbJNI.SBBroadcaster_GetName(swigCPtr, this);
}
public boolean EventTypeHasListeners(long event_type) {
return lldbJNI.SBBroadcaster_EventTypeHasListeners(swigCPtr, this, event_type);
}
public boolean RemoveListener(SBListener listener, long event_mask) {
return lldbJNI.SBBroadcaster_RemoveListener__SWIG_0(swigCPtr, this, SBListener.getCPtr(listener), listener, event_mask);
}
public boolean RemoveListener(SBListener listener) {
return lldbJNI.SBBroadcaster_RemoveListener__SWIG_1(swigCPtr, this, SBListener.getCPtr(listener), listener);
}
}

View File

@ -0,0 +1,178 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBCommandInterpreter {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBCommandInterpreter(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBCommandInterpreter obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBCommandInterpreter(swigCPtr);
}
swigCPtr = 0;
}
}
public SBCommandInterpreter(SBCommandInterpreter rhs) {
this(lldbJNI.new_SBCommandInterpreter(SBCommandInterpreter.getCPtr(rhs), rhs), true);
}
public static String GetArgumentTypeAsCString(CommandArgumentType arg_type) {
return lldbJNI.SBCommandInterpreter_GetArgumentTypeAsCString(arg_type.swigValue());
}
public static String GetArgumentDescriptionAsCString(CommandArgumentType arg_type) {
return lldbJNI.SBCommandInterpreter_GetArgumentDescriptionAsCString(arg_type.swigValue());
}
public static boolean EventIsCommandInterpreterEvent(SBEvent event) {
return lldbJNI.SBCommandInterpreter_EventIsCommandInterpreterEvent(SBEvent.getCPtr(event), event);
}
public boolean IsValid() {
return lldbJNI.SBCommandInterpreter_IsValid(swigCPtr, this);
}
public String GetIOHandlerControlSequence(char ch) {
return lldbJNI.SBCommandInterpreter_GetIOHandlerControlSequence(swigCPtr, this, ch);
}
public boolean GetPromptOnQuit() {
return lldbJNI.SBCommandInterpreter_GetPromptOnQuit(swigCPtr, this);
}
public void SetPromptOnQuit(boolean b) {
lldbJNI.SBCommandInterpreter_SetPromptOnQuit(swigCPtr, this, b);
}
public void AllowExitCodeOnQuit(boolean b) {
lldbJNI.SBCommandInterpreter_AllowExitCodeOnQuit(swigCPtr, this, b);
}
public boolean HasCustomQuitExitCode() {
return lldbJNI.SBCommandInterpreter_HasCustomQuitExitCode(swigCPtr, this);
}
public int GetQuitStatus() {
return lldbJNI.SBCommandInterpreter_GetQuitStatus(swigCPtr, this);
}
public void ResolveCommand(String command_line, SBCommandReturnObject result) {
lldbJNI.SBCommandInterpreter_ResolveCommand(swigCPtr, this, command_line, SBCommandReturnObject.getCPtr(result), result);
}
public boolean CommandExists(String cmd) {
return lldbJNI.SBCommandInterpreter_CommandExists(swigCPtr, this, cmd);
}
public boolean AliasExists(String cmd) {
return lldbJNI.SBCommandInterpreter_AliasExists(swigCPtr, this, cmd);
}
public SBBroadcaster GetBroadcaster() {
return new SBBroadcaster(lldbJNI.SBCommandInterpreter_GetBroadcaster(swigCPtr, this), true);
}
public static String GetBroadcasterClass() {
return lldbJNI.SBCommandInterpreter_GetBroadcasterClass();
}
public boolean HasCommands() {
return lldbJNI.SBCommandInterpreter_HasCommands(swigCPtr, this);
}
public boolean HasAliases() {
return lldbJNI.SBCommandInterpreter_HasAliases(swigCPtr, this);
}
public boolean HasAliasOptions() {
return lldbJNI.SBCommandInterpreter_HasAliasOptions(swigCPtr, this);
}
public SBProcess GetProcess() {
return new SBProcess(lldbJNI.SBCommandInterpreter_GetProcess(swigCPtr, this), true);
}
public SBDebugger GetDebugger() {
return new SBDebugger(lldbJNI.SBCommandInterpreter_GetDebugger(swigCPtr, this), true);
}
public void SourceInitFileInHomeDirectory(SBCommandReturnObject result) {
lldbJNI.SBCommandInterpreter_SourceInitFileInHomeDirectory(swigCPtr, this, SBCommandReturnObject.getCPtr(result), result);
}
public void SourceInitFileInCurrentWorkingDirectory(SBCommandReturnObject result) {
lldbJNI.SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory(swigCPtr, this, SBCommandReturnObject.getCPtr(result), result);
}
public ReturnStatus HandleCommand(String command_line, SBCommandReturnObject result, boolean add_to_history) {
return ReturnStatus.swigToEnum(lldbJNI.SBCommandInterpreter_HandleCommand__SWIG_0(swigCPtr, this, command_line, SBCommandReturnObject.getCPtr(result), result, add_to_history));
}
public ReturnStatus HandleCommand(String command_line, SBCommandReturnObject result) {
return ReturnStatus.swigToEnum(lldbJNI.SBCommandInterpreter_HandleCommand__SWIG_1(swigCPtr, this, command_line, SBCommandReturnObject.getCPtr(result), result));
}
public ReturnStatus HandleCommand(String command_line, SBExecutionContext exe_ctx, SBCommandReturnObject result, boolean add_to_history) {
return ReturnStatus.swigToEnum(lldbJNI.SBCommandInterpreter_HandleCommand__SWIG_2(swigCPtr, this, command_line, SBExecutionContext.getCPtr(exe_ctx), exe_ctx, SBCommandReturnObject.getCPtr(result), result, add_to_history));
}
public ReturnStatus HandleCommand(String command_line, SBExecutionContext exe_ctx, SBCommandReturnObject result) {
return ReturnStatus.swigToEnum(lldbJNI.SBCommandInterpreter_HandleCommand__SWIG_3(swigCPtr, this, command_line, SBExecutionContext.getCPtr(exe_ctx), exe_ctx, SBCommandReturnObject.getCPtr(result), result));
}
public void HandleCommandsFromFile(SBFileSpec file, SBExecutionContext override_context, SBCommandInterpreterRunOptions options, SBCommandReturnObject result) {
lldbJNI.SBCommandInterpreter_HandleCommandsFromFile(swigCPtr, this, SBFileSpec.getCPtr(file), file, SBExecutionContext.getCPtr(override_context), override_context, SBCommandInterpreterRunOptions.getCPtr(options), options, SBCommandReturnObject.getCPtr(result), result);
}
public int HandleCompletion(String current_line, long cursor_pos, int match_start_point, int max_return_elements, SBStringList matches) {
return lldbJNI.SBCommandInterpreter_HandleCompletion(swigCPtr, this, current_line, cursor_pos, match_start_point, max_return_elements, SBStringList.getCPtr(matches), matches);
}
public int HandleCompletionWithDescriptions(String current_line, long cursor_pos, int match_start_point, int max_return_elements, SBStringList matches, SBStringList descriptions) {
return lldbJNI.SBCommandInterpreter_HandleCompletionWithDescriptions(swigCPtr, this, current_line, cursor_pos, match_start_point, max_return_elements, SBStringList.getCPtr(matches), matches, SBStringList.getCPtr(descriptions), descriptions);
}
public boolean IsActive() {
return lldbJNI.SBCommandInterpreter_IsActive(swigCPtr, this);
}
public boolean WasInterrupted() {
return lldbJNI.SBCommandInterpreter_WasInterrupted(swigCPtr, this);
}
public final static int eBroadcastBitThreadShouldExit = lldbJNI.SBCommandInterpreter_eBroadcastBitThreadShouldExit_get();
public final static int eBroadcastBitResetPrompt = lldbJNI.SBCommandInterpreter_eBroadcastBitResetPrompt_get();
public final static int eBroadcastBitQuitCommandReceived = lldbJNI.SBCommandInterpreter_eBroadcastBitQuitCommandReceived_get();
public final static int eBroadcastBitAsynchronousOutputData = lldbJNI.SBCommandInterpreter_eBroadcastBitAsynchronousOutputData_get();
public final static int eBroadcastBitAsynchronousErrorData = lldbJNI.SBCommandInterpreter_eBroadcastBitAsynchronousErrorData_get();
}

View File

@ -0,0 +1,96 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBCommandInterpreterRunOptions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBCommandInterpreterRunOptions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBCommandInterpreterRunOptions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBCommandInterpreterRunOptions(swigCPtr);
}
swigCPtr = 0;
}
}
public SBCommandInterpreterRunOptions() {
this(lldbJNI.new_SBCommandInterpreterRunOptions(), true);
}
public boolean GetStopOnContinue() {
return lldbJNI.SBCommandInterpreterRunOptions_GetStopOnContinue(swigCPtr, this);
}
public void SetStopOnContinue(boolean arg0) {
lldbJNI.SBCommandInterpreterRunOptions_SetStopOnContinue(swigCPtr, this, arg0);
}
public boolean GetStopOnError() {
return lldbJNI.SBCommandInterpreterRunOptions_GetStopOnError(swigCPtr, this);
}
public void SetStopOnError(boolean arg0) {
lldbJNI.SBCommandInterpreterRunOptions_SetStopOnError(swigCPtr, this, arg0);
}
public boolean GetStopOnCrash() {
return lldbJNI.SBCommandInterpreterRunOptions_GetStopOnCrash(swigCPtr, this);
}
public void SetStopOnCrash(boolean arg0) {
lldbJNI.SBCommandInterpreterRunOptions_SetStopOnCrash(swigCPtr, this, arg0);
}
public boolean GetEchoCommands() {
return lldbJNI.SBCommandInterpreterRunOptions_GetEchoCommands(swigCPtr, this);
}
public void SetEchoCommands(boolean arg0) {
lldbJNI.SBCommandInterpreterRunOptions_SetEchoCommands(swigCPtr, this, arg0);
}
public boolean GetPrintResults() {
return lldbJNI.SBCommandInterpreterRunOptions_GetPrintResults(swigCPtr, this);
}
public void SetPrintResults(boolean arg0) {
lldbJNI.SBCommandInterpreterRunOptions_SetPrintResults(swigCPtr, this, arg0);
}
public boolean GetAddToHistory() {
return lldbJNI.SBCommandInterpreterRunOptions_GetAddToHistory(swigCPtr, this);
}
public void SetAddToHistory(boolean arg0) {
lldbJNI.SBCommandInterpreterRunOptions_SetAddToHistory(swigCPtr, this, arg0);
}
}

View File

@ -0,0 +1,176 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBCommandReturnObject {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBCommandReturnObject(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBCommandReturnObject obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBCommandReturnObject(swigCPtr);
}
swigCPtr = 0;
}
}
public SBCommandReturnObject() {
this(lldbJNI.new_SBCommandReturnObject__SWIG_0(), true);
}
public SBCommandReturnObject(SBCommandReturnObject rhs) {
this(lldbJNI.new_SBCommandReturnObject__SWIG_1(SBCommandReturnObject.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBCommandReturnObject_IsValid(swigCPtr, this);
}
public String GetOutput() {
return lldbJNI.SBCommandReturnObject_GetOutput__SWIG_0(swigCPtr, this);
}
public String GetError() {
return lldbJNI.SBCommandReturnObject_GetError__SWIG_0(swigCPtr, this);
}
public long GetOutputSize() {
return lldbJNI.SBCommandReturnObject_GetOutputSize(swigCPtr, this);
}
public long GetErrorSize() {
return lldbJNI.SBCommandReturnObject_GetErrorSize(swigCPtr, this);
}
public String GetOutput(boolean only_if_no_immediate) {
return lldbJNI.SBCommandReturnObject_GetOutput__SWIG_1(swigCPtr, this, only_if_no_immediate);
}
public String GetError(boolean if_no_immediate) {
return lldbJNI.SBCommandReturnObject_GetError__SWIG_1(swigCPtr, this, if_no_immediate);
}
public long PutOutput(SBFile file) {
return lldbJNI.SBCommandReturnObject_PutOutput__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file);
}
public long PutError(SBFile file) {
return lldbJNI.SBCommandReturnObject_PutError__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file);
}
public long PutOutput(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
return lldbJNI.SBCommandReturnObject_PutOutput__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED));
}
public long PutError(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
return lldbJNI.SBCommandReturnObject_PutError__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED));
}
public void Clear() {
lldbJNI.SBCommandReturnObject_Clear(swigCPtr, this);
}
public void SetStatus(ReturnStatus status) {
lldbJNI.SBCommandReturnObject_SetStatus(swigCPtr, this, status.swigValue());
}
public void SetError(SBError error, String fallback_error_cstr) {
lldbJNI.SBCommandReturnObject_SetError__SWIG_0(swigCPtr, this, SBError.getCPtr(error), error, fallback_error_cstr);
}
public void SetError(SBError error) {
lldbJNI.SBCommandReturnObject_SetError__SWIG_1(swigCPtr, this, SBError.getCPtr(error), error);
}
public void SetError(String error_cstr) {
lldbJNI.SBCommandReturnObject_SetError__SWIG_2(swigCPtr, this, error_cstr);
}
public ReturnStatus GetStatus() {
return ReturnStatus.swigToEnum(lldbJNI.SBCommandReturnObject_GetStatus(swigCPtr, this));
}
public boolean Succeeded() {
return lldbJNI.SBCommandReturnObject_Succeeded(swigCPtr, this);
}
public boolean HasResult() {
return lldbJNI.SBCommandReturnObject_HasResult(swigCPtr, this);
}
public void AppendMessage(String message) {
lldbJNI.SBCommandReturnObject_AppendMessage(swigCPtr, this, message);
}
public void AppendWarning(String message) {
lldbJNI.SBCommandReturnObject_AppendWarning(swigCPtr, this, message);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBCommandReturnObject_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public void SetImmediateOutputFile(SBFile file) {
lldbJNI.SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file);
}
public void SetImmediateErrorFile(SBFile file) {
lldbJNI.SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file);
}
public void SetImmediateOutputFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
lldbJNI.SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED));
}
public void SetImmediateErrorFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
lldbJNI.SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED));
}
public String __str__() {
return lldbJNI.SBCommandReturnObject___str__(swigCPtr, this);
}
public void SetImmediateOutputFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED, boolean transfer_ownership) {
lldbJNI.SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED), transfer_ownership);
}
public void SetImmediateErrorFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED, boolean transfer_ownership) {
lldbJNI.SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED), transfer_ownership);
}
public void PutCString(String string, int len) {
lldbJNI.SBCommandReturnObject_PutCString(swigCPtr, this, string, len);
}
public void Print(String str) {
lldbJNI.SBCommandReturnObject_Print(swigCPtr, this, str);
}
}

View File

@ -0,0 +1,119 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBCommunication {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBCommunication(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBCommunication obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBCommunication(swigCPtr);
}
swigCPtr = 0;
}
}
public SBCommunication() {
this(lldbJNI.new_SBCommunication__SWIG_0(), true);
}
public SBCommunication(String broadcaster_name) {
this(lldbJNI.new_SBCommunication__SWIG_1(broadcaster_name), true);
}
public boolean IsValid() {
return lldbJNI.SBCommunication_IsValid(swigCPtr, this);
}
public SBBroadcaster GetBroadcaster() {
return new SBBroadcaster(lldbJNI.SBCommunication_GetBroadcaster(swigCPtr, this), true);
}
public static String GetBroadcasterClass() {
return lldbJNI.SBCommunication_GetBroadcasterClass();
}
public ConnectionStatus AdoptFileDesriptor(int fd, boolean owns_fd) {
return ConnectionStatus.swigToEnum(lldbJNI.SBCommunication_AdoptFileDesriptor(swigCPtr, this, fd, owns_fd));
}
public ConnectionStatus Connect(String url) {
return ConnectionStatus.swigToEnum(lldbJNI.SBCommunication_Connect(swigCPtr, this, url));
}
public ConnectionStatus Disconnect() {
return ConnectionStatus.swigToEnum(lldbJNI.SBCommunication_Disconnect(swigCPtr, this));
}
public boolean IsConnected() {
return lldbJNI.SBCommunication_IsConnected(swigCPtr, this);
}
public boolean GetCloseOnEOF() {
return lldbJNI.SBCommunication_GetCloseOnEOF(swigCPtr, this);
}
public void SetCloseOnEOF(boolean b) {
lldbJNI.SBCommunication_SetCloseOnEOF(swigCPtr, this, b);
}
public long Read(SWIGTYPE_p_void dst, long dst_len, long timeout_usec, SWIGTYPE_p_lldb__ConnectionStatus status) {
return lldbJNI.SBCommunication_Read(swigCPtr, this, SWIGTYPE_p_void.getCPtr(dst), dst_len, timeout_usec, SWIGTYPE_p_lldb__ConnectionStatus.getCPtr(status));
}
public long Write(SWIGTYPE_p_void src, long src_len, SWIGTYPE_p_lldb__ConnectionStatus status) {
return lldbJNI.SBCommunication_Write(swigCPtr, this, SWIGTYPE_p_void.getCPtr(src), src_len, SWIGTYPE_p_lldb__ConnectionStatus.getCPtr(status));
}
public boolean ReadThreadStart() {
return lldbJNI.SBCommunication_ReadThreadStart(swigCPtr, this);
}
public boolean ReadThreadStop() {
return lldbJNI.SBCommunication_ReadThreadStop(swigCPtr, this);
}
public boolean ReadThreadIsRunning() {
return lldbJNI.SBCommunication_ReadThreadIsRunning(swigCPtr, this);
}
public boolean SetReadThreadBytesReceivedCallback(SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void callback, SWIGTYPE_p_void callback_baton) {
return lldbJNI.SBCommunication_SetReadThreadBytesReceivedCallback(swigCPtr, this, SWIGTYPE_p_f_p_void_p_q_const__void_size_t__void.getCPtr(callback), SWIGTYPE_p_void.getCPtr(callback_baton));
}
public final static int eBroadcastBitDisconnected = lldbJNI.SBCommunication_eBroadcastBitDisconnected_get();
public final static int eBroadcastBitReadThreadGotBytes = lldbJNI.SBCommunication_eBroadcastBitReadThreadGotBytes_get();
public final static int eBroadcastBitReadThreadDidExit = lldbJNI.SBCommunication_eBroadcastBitReadThreadDidExit_get();
public final static int eBroadcastBitReadThreadShouldExit = lldbJNI.SBCommunication_eBroadcastBitReadThreadShouldExit_get();
public final static int eBroadcastBitPacketAvailable = lldbJNI.SBCommunication_eBroadcastBitPacketAvailable_get();
public final static int eAllEventBits = lldbJNI.SBCommunication_eAllEventBits_get();
}

View File

@ -0,0 +1,108 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBCompileUnit {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBCompileUnit(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBCompileUnit obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBCompileUnit(swigCPtr);
}
swigCPtr = 0;
}
}
public SBCompileUnit() {
this(lldbJNI.new_SBCompileUnit__SWIG_0(), true);
}
public SBCompileUnit(SBCompileUnit rhs) {
this(lldbJNI.new_SBCompileUnit__SWIG_1(SBCompileUnit.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBCompileUnit_IsValid(swigCPtr, this);
}
public SBFileSpec GetFileSpec() {
return new SBFileSpec(lldbJNI.SBCompileUnit_GetFileSpec(swigCPtr, this), true);
}
public long GetNumLineEntries() {
return lldbJNI.SBCompileUnit_GetNumLineEntries(swigCPtr, this);
}
public SBLineEntry GetLineEntryAtIndex(long idx) {
return new SBLineEntry(lldbJNI.SBCompileUnit_GetLineEntryAtIndex(swigCPtr, this, idx), true);
}
public long FindLineEntryIndex(long start_idx, long line, SBFileSpec inline_file_spec) {
return lldbJNI.SBCompileUnit_FindLineEntryIndex__SWIG_0(swigCPtr, this, start_idx, line, SBFileSpec.getCPtr(inline_file_spec), inline_file_spec);
}
public long FindLineEntryIndex(long start_idx, long line, SBFileSpec inline_file_spec, boolean exact) {
return lldbJNI.SBCompileUnit_FindLineEntryIndex__SWIG_1(swigCPtr, this, start_idx, line, SBFileSpec.getCPtr(inline_file_spec), inline_file_spec, exact);
}
public SBFileSpec GetSupportFileAtIndex(long idx) {
return new SBFileSpec(lldbJNI.SBCompileUnit_GetSupportFileAtIndex(swigCPtr, this, idx), true);
}
public long GetNumSupportFiles() {
return lldbJNI.SBCompileUnit_GetNumSupportFiles(swigCPtr, this);
}
public long FindSupportFileIndex(long start_idx, SBFileSpec sb_file, boolean full) {
return lldbJNI.SBCompileUnit_FindSupportFileIndex(swigCPtr, this, start_idx, SBFileSpec.getCPtr(sb_file), sb_file, full);
}
public SBTypeList GetTypes(long type_mask) {
return new SBTypeList(lldbJNI.SBCompileUnit_GetTypes__SWIG_0(swigCPtr, this, type_mask), true);
}
public SBTypeList GetTypes() {
return new SBTypeList(lldbJNI.SBCompileUnit_GetTypes__SWIG_1(swigCPtr, this), true);
}
public LanguageType GetLanguage() {
return LanguageType.swigToEnum(lldbJNI.SBCompileUnit_GetLanguage(swigCPtr, this));
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBCompileUnit_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBCompileUnit___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,200 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBData {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBData(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBData(swigCPtr);
}
swigCPtr = 0;
}
}
public SBData() {
this(lldbJNI.new_SBData__SWIG_0(), true);
}
public SBData(SBData rhs) {
this(lldbJNI.new_SBData__SWIG_1(SBData.getCPtr(rhs), rhs), true);
}
public short GetAddressByteSize() {
return lldbJNI.SBData_GetAddressByteSize(swigCPtr, this);
}
public void SetAddressByteSize(short addr_byte_size) {
lldbJNI.SBData_SetAddressByteSize(swigCPtr, this, addr_byte_size);
}
public void Clear() {
lldbJNI.SBData_Clear(swigCPtr, this);
}
public boolean IsValid() {
return lldbJNI.SBData_IsValid(swigCPtr, this);
}
public long GetByteSize() {
return lldbJNI.SBData_GetByteSize(swigCPtr, this);
}
public ByteOrder GetByteOrder() {
return ByteOrder.swigToEnum(lldbJNI.SBData_GetByteOrder(swigCPtr, this));
}
public void SetByteOrder(ByteOrder endian) {
lldbJNI.SBData_SetByteOrder(swigCPtr, this, endian.swigValue());
}
public float GetFloat(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetFloat(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public double GetDouble(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetDouble(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public SWIGTYPE_p_long_double GetLongDouble(SBError error, java.math.BigInteger offset) {
return new SWIGTYPE_p_long_double(lldbJNI.SBData_GetLongDouble(swigCPtr, this, SBError.getCPtr(error), error, offset), true);
}
public java.math.BigInteger GetAddress(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetAddress(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public short GetUnsignedInt8(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetUnsignedInt8(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public int GetUnsignedInt16(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetUnsignedInt16(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public long GetUnsignedInt32(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetUnsignedInt32(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public java.math.BigInteger GetUnsignedInt64(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetUnsignedInt64(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public byte GetSignedInt8(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetSignedInt8(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public short GetSignedInt16(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetSignedInt16(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public int GetSignedInt32(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetSignedInt32(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public long GetSignedInt64(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetSignedInt64(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public String GetString(SBError error, java.math.BigInteger offset) {
return lldbJNI.SBData_GetString(swigCPtr, this, SBError.getCPtr(error), error, offset);
}
public boolean GetDescription(SBStream description, java.math.BigInteger base_addr) {
return lldbJNI.SBData_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description, base_addr);
}
public long ReadRawData(SBError error, java.math.BigInteger offset, SWIGTYPE_p_void buf, long size) {
return lldbJNI.SBData_ReadRawData(swigCPtr, this, SBError.getCPtr(error), error, offset, SWIGTYPE_p_void.getCPtr(buf), size);
}
public void SetData(SBError error, SWIGTYPE_p_void buf, long size, ByteOrder endian, short addr_size) {
lldbJNI.SBData_SetData(swigCPtr, this, SBError.getCPtr(error), error, SWIGTYPE_p_void.getCPtr(buf), size, endian.swigValue(), addr_size);
}
public boolean Append(SBData rhs) {
return lldbJNI.SBData_Append(swigCPtr, this, SBData.getCPtr(rhs), rhs);
}
public static SBData CreateDataFromCString(ByteOrder endian, long addr_byte_size, String data) {
return new SBData(lldbJNI.SBData_CreateDataFromCString(endian.swigValue(), addr_byte_size, data), true);
}
public static SBData CreateDataFromUInt64Array(ByteOrder endian, long addr_byte_size, SWIGTYPE_p_unsigned_long_long array, long array_len) {
return new SBData(lldbJNI.SBData_CreateDataFromUInt64Array(endian.swigValue(), addr_byte_size, SWIGTYPE_p_unsigned_long_long.getCPtr(array), array_len), true);
}
public static SBData CreateDataFromUInt32Array(ByteOrder endian, long addr_byte_size, SWIGTYPE_p_unsigned_int array, long array_len) {
return new SBData(lldbJNI.SBData_CreateDataFromUInt32Array(endian.swigValue(), addr_byte_size, SWIGTYPE_p_unsigned_int.getCPtr(array), array_len), true);
}
public static SBData CreateDataFromSInt64Array(ByteOrder endian, long addr_byte_size, SWIGTYPE_p_long_long array, long array_len) {
return new SBData(lldbJNI.SBData_CreateDataFromSInt64Array(endian.swigValue(), addr_byte_size, SWIGTYPE_p_long_long.getCPtr(array), array_len), true);
}
public static SBData CreateDataFromSInt32Array(ByteOrder endian, long addr_byte_size, SWIGTYPE_p_int array, long array_len) {
return new SBData(lldbJNI.SBData_CreateDataFromSInt32Array(endian.swigValue(), addr_byte_size, SWIGTYPE_p_int.getCPtr(array), array_len), true);
}
public static SBData CreateDataFromDoubleArray(ByteOrder endian, long addr_byte_size, SWIGTYPE_p_double array, long array_len) {
return new SBData(lldbJNI.SBData_CreateDataFromDoubleArray(endian.swigValue(), addr_byte_size, SWIGTYPE_p_double.getCPtr(array), array_len), true);
}
public boolean SetDataFromCString(String data) {
return lldbJNI.SBData_SetDataFromCString(swigCPtr, this, data);
}
public boolean SetDataFromUInt64Array(SWIGTYPE_p_unsigned_long_long array, long array_len) {
return lldbJNI.SBData_SetDataFromUInt64Array(swigCPtr, this, SWIGTYPE_p_unsigned_long_long.getCPtr(array), array_len);
}
public boolean SetDataFromUInt32Array(SWIGTYPE_p_unsigned_int array, long array_len) {
return lldbJNI.SBData_SetDataFromUInt32Array(swigCPtr, this, SWIGTYPE_p_unsigned_int.getCPtr(array), array_len);
}
public boolean SetDataFromSInt64Array(SWIGTYPE_p_long_long array, long array_len) {
return lldbJNI.SBData_SetDataFromSInt64Array(swigCPtr, this, SWIGTYPE_p_long_long.getCPtr(array), array_len);
}
public boolean SetDataFromSInt32Array(SWIGTYPE_p_int array, long array_len) {
return lldbJNI.SBData_SetDataFromSInt32Array(swigCPtr, this, SWIGTYPE_p_int.getCPtr(array), array_len);
}
public boolean SetDataFromDoubleArray(SWIGTYPE_p_double array, long array_len) {
return lldbJNI.SBData_SetDataFromDoubleArray(swigCPtr, this, SWIGTYPE_p_double.getCPtr(array), array_len);
}
public String __str__() {
return lldbJNI.SBData___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,443 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBDebugger {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBDebugger(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBDebugger obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBDebugger(swigCPtr);
}
swigCPtr = 0;
}
}
public static void Initialize() {
lldbJNI.SBDebugger_Initialize();
}
public static SBError InitializeWithErrorHandling() {
return new SBError(lldbJNI.SBDebugger_InitializeWithErrorHandling(), true);
}
public static void Terminate() {
lldbJNI.SBDebugger_Terminate();
}
public static SBDebugger Create() {
return new SBDebugger(lldbJNI.SBDebugger_Create__SWIG_0(), true);
}
public static SBDebugger Create(boolean source_init_files) {
return new SBDebugger(lldbJNI.SBDebugger_Create__SWIG_1(source_init_files), true);
}
public static SBDebugger Create(boolean source_init_files, SWIGTYPE_p_f_p_q_const__char_p_void__void log_callback, SWIGTYPE_p_void baton) {
return new SBDebugger(lldbJNI.SBDebugger_Create__SWIG_2(source_init_files, SWIGTYPE_p_f_p_q_const__char_p_void__void.getCPtr(log_callback), SWIGTYPE_p_void.getCPtr(baton)), true);
}
public static void Destroy(SBDebugger debugger) {
lldbJNI.SBDebugger_Destroy(SBDebugger.getCPtr(debugger), debugger);
}
public static void MemoryPressureDetected() {
lldbJNI.SBDebugger_MemoryPressureDetected();
}
public SBDebugger() {
this(lldbJNI.new_SBDebugger__SWIG_0(), true);
}
public SBDebugger(SBDebugger rhs) {
this(lldbJNI.new_SBDebugger__SWIG_1(SBDebugger.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBDebugger_IsValid(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBDebugger_Clear(swigCPtr, this);
}
public void SetAsync(boolean b) {
lldbJNI.SBDebugger_SetAsync(swigCPtr, this, b);
}
public boolean GetAsync() {
return lldbJNI.SBDebugger_GetAsync(swigCPtr, this);
}
public void SkipLLDBInitFiles(boolean b) {
lldbJNI.SBDebugger_SkipLLDBInitFiles(swigCPtr, this, b);
}
public SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t GetInputFileHandle() {
return new SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t(lldbJNI.SBDebugger_GetInputFileHandle(swigCPtr, this), true);
}
public SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t GetOutputFileHandle() {
return new SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t(lldbJNI.SBDebugger_GetOutputFileHandle(swigCPtr, this), true);
}
public SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t GetErrorFileHandle() {
return new SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t(lldbJNI.SBDebugger_GetErrorFileHandle(swigCPtr, this), true);
}
public SBError SetInputFile(SBFile file) {
return new SBError(lldbJNI.SBDebugger_SetInputFile__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file), true);
}
public SBError SetOutputFile(SBFile file) {
return new SBError(lldbJNI.SBDebugger_SetOutputFile__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file), true);
}
public SBError SetErrorFile(SBFile file) {
return new SBError(lldbJNI.SBDebugger_SetErrorFile__SWIG_0(swigCPtr, this, SBFile.getCPtr(file), file), true);
}
public SBError SetInputFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t file) {
return new SBError(lldbJNI.SBDebugger_SetInputFile__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(file)), true);
}
public SBError SetOutputFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t file) {
return new SBError(lldbJNI.SBDebugger_SetOutputFile__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(file)), true);
}
public SBError SetErrorFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t file) {
return new SBError(lldbJNI.SBDebugger_SetErrorFile__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(file)), true);
}
public SBFile GetInputFile() {
return new SBFile(lldbJNI.SBDebugger_GetInputFile(swigCPtr, this), true);
}
public SBFile GetOutputFile() {
return new SBFile(lldbJNI.SBDebugger_GetOutputFile(swigCPtr, this), true);
}
public SBFile GetErrorFile() {
return new SBFile(lldbJNI.SBDebugger_GetErrorFile(swigCPtr, this), true);
}
public SBCommandInterpreter GetCommandInterpreter() {
return new SBCommandInterpreter(lldbJNI.SBDebugger_GetCommandInterpreter(swigCPtr, this), true);
}
public void HandleCommand(String command) {
lldbJNI.SBDebugger_HandleCommand(swigCPtr, this, command);
}
public SBListener GetListener() {
return new SBListener(lldbJNI.SBDebugger_GetListener(swigCPtr, this), true);
}
public void HandleProcessEvent(SBProcess process, SBEvent event, SBFile out, SBFile err) {
lldbJNI.SBDebugger_HandleProcessEvent__SWIG_0(swigCPtr, this, SBProcess.getCPtr(process), process, SBEvent.getCPtr(event), event, SBFile.getCPtr(out), out, SBFile.getCPtr(err), err);
}
public void HandleProcessEvent(SBProcess process, SBEvent event, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t arg2, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t arg3) {
lldbJNI.SBDebugger_HandleProcessEvent__SWIG_1(swigCPtr, this, SBProcess.getCPtr(process), process, SBEvent.getCPtr(event), event, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(arg2), SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(arg3));
}
public SBTarget CreateTarget(String filename, String target_triple, String platform_name, boolean add_dependent_modules, SBError sb_error) {
return new SBTarget(lldbJNI.SBDebugger_CreateTarget__SWIG_0(swigCPtr, this, filename, target_triple, platform_name, add_dependent_modules, SBError.getCPtr(sb_error), sb_error), true);
}
public SBTarget CreateTargetWithFileAndTargetTriple(String filename, String target_triple) {
return new SBTarget(lldbJNI.SBDebugger_CreateTargetWithFileAndTargetTriple(swigCPtr, this, filename, target_triple), true);
}
public SBTarget CreateTargetWithFileAndArch(String filename, String archname) {
return new SBTarget(lldbJNI.SBDebugger_CreateTargetWithFileAndArch(swigCPtr, this, filename, archname), true);
}
public SBTarget CreateTarget(String filename) {
return new SBTarget(lldbJNI.SBDebugger_CreateTarget__SWIG_1(swigCPtr, this, filename), true);
}
public SBTarget GetDummyTarget() {
return new SBTarget(lldbJNI.SBDebugger_GetDummyTarget(swigCPtr, this), true);
}
public boolean DeleteTarget(SBTarget target) {
return lldbJNI.SBDebugger_DeleteTarget(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public SBTarget GetTargetAtIndex(long idx) {
return new SBTarget(lldbJNI.SBDebugger_GetTargetAtIndex(swigCPtr, this, idx), true);
}
public long GetIndexOfTarget(SBTarget target) {
return lldbJNI.SBDebugger_GetIndexOfTarget(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public SBTarget FindTargetWithProcessID(java.math.BigInteger pid) {
return new SBTarget(lldbJNI.SBDebugger_FindTargetWithProcessID(swigCPtr, this, pid), true);
}
public SBTarget FindTargetWithFileAndArch(String filename, String arch) {
return new SBTarget(lldbJNI.SBDebugger_FindTargetWithFileAndArch(swigCPtr, this, filename, arch), true);
}
public long GetNumTargets() {
return lldbJNI.SBDebugger_GetNumTargets(swigCPtr, this);
}
public SBTarget GetSelectedTarget() {
return new SBTarget(lldbJNI.SBDebugger_GetSelectedTarget(swigCPtr, this), true);
}
public void SetSelectedTarget(SBTarget target) {
lldbJNI.SBDebugger_SetSelectedTarget(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public SBPlatform GetSelectedPlatform() {
return new SBPlatform(lldbJNI.SBDebugger_GetSelectedPlatform(swigCPtr, this), true);
}
public void SetSelectedPlatform(SBPlatform platform) {
lldbJNI.SBDebugger_SetSelectedPlatform(swigCPtr, this, SBPlatform.getCPtr(platform), platform);
}
public long GetNumPlatforms() {
return lldbJNI.SBDebugger_GetNumPlatforms(swigCPtr, this);
}
public SBPlatform GetPlatformAtIndex(long idx) {
return new SBPlatform(lldbJNI.SBDebugger_GetPlatformAtIndex(swigCPtr, this, idx), true);
}
public long GetNumAvailablePlatforms() {
return lldbJNI.SBDebugger_GetNumAvailablePlatforms(swigCPtr, this);
}
public SBStructuredData GetAvailablePlatformInfoAtIndex(long idx) {
return new SBStructuredData(lldbJNI.SBDebugger_GetAvailablePlatformInfoAtIndex(swigCPtr, this, idx), true);
}
public SBSourceManager GetSourceManager() {
return new SBSourceManager(lldbJNI.SBDebugger_GetSourceManager(swigCPtr, this), true);
}
public SBError SetCurrentPlatform(String platform_name) {
return new SBError(lldbJNI.SBDebugger_SetCurrentPlatform(swigCPtr, this, platform_name), true);
}
public boolean SetCurrentPlatformSDKRoot(String sysroot) {
return lldbJNI.SBDebugger_SetCurrentPlatformSDKRoot(swigCPtr, this, sysroot);
}
public boolean SetUseExternalEditor(boolean input) {
return lldbJNI.SBDebugger_SetUseExternalEditor(swigCPtr, this, input);
}
public boolean GetUseExternalEditor() {
return lldbJNI.SBDebugger_GetUseExternalEditor(swigCPtr, this);
}
public boolean SetUseColor(boolean use_color) {
return lldbJNI.SBDebugger_SetUseColor(swigCPtr, this, use_color);
}
public boolean GetUseColor() {
return lldbJNI.SBDebugger_GetUseColor(swigCPtr, this);
}
public static boolean GetDefaultArchitecture(String arch_name, long arch_name_len) {
return lldbJNI.SBDebugger_GetDefaultArchitecture(arch_name, arch_name_len);
}
public static boolean SetDefaultArchitecture(String arch_name) {
return lldbJNI.SBDebugger_SetDefaultArchitecture(arch_name);
}
public ScriptLanguage GetScriptingLanguage(String script_language_name) {
return ScriptLanguage.swigToEnum(lldbJNI.SBDebugger_GetScriptingLanguage(swigCPtr, this, script_language_name));
}
public static String GetVersionString() {
return lldbJNI.SBDebugger_GetVersionString();
}
public static String StateAsCString(StateType state) {
return lldbJNI.SBDebugger_StateAsCString(state.swigValue());
}
public static SBStructuredData GetBuildConfiguration() {
return new SBStructuredData(lldbJNI.SBDebugger_GetBuildConfiguration(), true);
}
public static boolean StateIsRunningState(StateType state) {
return lldbJNI.SBDebugger_StateIsRunningState(state.swigValue());
}
public static boolean StateIsStoppedState(StateType state) {
return lldbJNI.SBDebugger_StateIsStoppedState(state.swigValue());
}
public boolean EnableLog(String channel, String[] types) {
return lldbJNI.SBDebugger_EnableLog(swigCPtr, this, channel, types);
}
public void SetLoggingCallback(SWIGTYPE_p_f_p_q_const__char_p_void__void log_callback, SWIGTYPE_p_void baton) {
lldbJNI.SBDebugger_SetLoggingCallback(swigCPtr, this, SWIGTYPE_p_f_p_q_const__char_p_void__void.getCPtr(log_callback), SWIGTYPE_p_void.getCPtr(baton));
}
public void DispatchInput(SWIGTYPE_p_void data, long data_len) {
lldbJNI.SBDebugger_DispatchInput(swigCPtr, this, SWIGTYPE_p_void.getCPtr(data), data_len);
}
public void DispatchInputInterrupt() {
lldbJNI.SBDebugger_DispatchInputInterrupt(swigCPtr, this);
}
public void DispatchInputEndOfFile() {
lldbJNI.SBDebugger_DispatchInputEndOfFile(swigCPtr, this);
}
public String GetInstanceName() {
return lldbJNI.SBDebugger_GetInstanceName(swigCPtr, this);
}
public static SBDebugger FindDebuggerWithID(int id) {
return new SBDebugger(lldbJNI.SBDebugger_FindDebuggerWithID(id), true);
}
public static SBError SetInternalVariable(String var_name, String value, String debugger_instance_name) {
return new SBError(lldbJNI.SBDebugger_SetInternalVariable(var_name, value, debugger_instance_name), true);
}
public static SBStringList GetInternalVariableValue(String var_name, String debugger_instance_name) {
return new SBStringList(lldbJNI.SBDebugger_GetInternalVariableValue(var_name, debugger_instance_name), true);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBDebugger_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public long GetTerminalWidth() {
return lldbJNI.SBDebugger_GetTerminalWidth(swigCPtr, this);
}
public void SetTerminalWidth(long term_width) {
lldbJNI.SBDebugger_SetTerminalWidth(swigCPtr, this, term_width);
}
public java.math.BigInteger GetID() {
return lldbJNI.SBDebugger_GetID(swigCPtr, this);
}
public String GetPrompt() {
return lldbJNI.SBDebugger_GetPrompt(swigCPtr, this);
}
public void SetPrompt(String prompt) {
lldbJNI.SBDebugger_SetPrompt(swigCPtr, this, prompt);
}
public String GetReproducerPath() {
return lldbJNI.SBDebugger_GetReproducerPath(swigCPtr, this);
}
public ScriptLanguage GetScriptLanguage() {
return ScriptLanguage.swigToEnum(lldbJNI.SBDebugger_GetScriptLanguage(swigCPtr, this));
}
public void SetScriptLanguage(ScriptLanguage script_lang) {
lldbJNI.SBDebugger_SetScriptLanguage(swigCPtr, this, script_lang.swigValue());
}
public boolean GetCloseInputOnEOF() {
return lldbJNI.SBDebugger_GetCloseInputOnEOF(swigCPtr, this);
}
public void SetCloseInputOnEOF(boolean b) {
lldbJNI.SBDebugger_SetCloseInputOnEOF(swigCPtr, this, b);
}
public SBTypeCategory GetCategory(String category_name) {
return new SBTypeCategory(lldbJNI.SBDebugger_GetCategory__SWIG_0(swigCPtr, this, category_name), true);
}
public SBTypeCategory GetCategory(LanguageType lang_type) {
return new SBTypeCategory(lldbJNI.SBDebugger_GetCategory__SWIG_1(swigCPtr, this, lang_type.swigValue()), true);
}
public SBTypeCategory CreateCategory(String category_name) {
return new SBTypeCategory(lldbJNI.SBDebugger_CreateCategory(swigCPtr, this, category_name), true);
}
public boolean DeleteCategory(String category_name) {
return lldbJNI.SBDebugger_DeleteCategory(swigCPtr, this, category_name);
}
public long GetNumCategories() {
return lldbJNI.SBDebugger_GetNumCategories(swigCPtr, this);
}
public SBTypeCategory GetCategoryAtIndex(long arg0) {
return new SBTypeCategory(lldbJNI.SBDebugger_GetCategoryAtIndex(swigCPtr, this, arg0), true);
}
public SBTypeCategory GetDefaultCategory() {
return new SBTypeCategory(lldbJNI.SBDebugger_GetDefaultCategory(swigCPtr, this), true);
}
public SBTypeFormat GetFormatForType(SBTypeNameSpecifier arg0) {
return new SBTypeFormat(lldbJNI.SBDebugger_GetFormatForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
}
public SBTypeSummary GetSummaryForType(SBTypeNameSpecifier arg0) {
return new SBTypeSummary(lldbJNI.SBDebugger_GetSummaryForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
}
public SBTypeFilter GetFilterForType(SBTypeNameSpecifier arg0) {
return new SBTypeFilter(lldbJNI.SBDebugger_GetFilterForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
}
public SBTypeSynthetic GetSyntheticForType(SBTypeNameSpecifier arg0) {
return new SBTypeSynthetic(lldbJNI.SBDebugger_GetSyntheticForType(swigCPtr, this, SBTypeNameSpecifier.getCPtr(arg0), arg0), true);
}
public String __str__() {
return lldbJNI.SBDebugger___str__(swigCPtr, this);
}
public void RunCommandInterpreter(boolean auto_handle_events, boolean spawn_thread, SBCommandInterpreterRunOptions options, int[] num_errors, boolean[] quit_requested, boolean[] stopped_for_crash) {
lldbJNI.SBDebugger_RunCommandInterpreter(swigCPtr, this, auto_handle_events, spawn_thread, SBCommandInterpreterRunOptions.getCPtr(options), options, num_errors, quit_requested, stopped_for_crash);
}
public SBError RunREPL(LanguageType language, String repl_options) {
return new SBError(lldbJNI.SBDebugger_RunREPL(swigCPtr, this, language.swigValue(), repl_options), true);
}
}

View File

@ -0,0 +1,88 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBDeclaration {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBDeclaration(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBDeclaration obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBDeclaration(swigCPtr);
}
swigCPtr = 0;
}
}
public SBDeclaration() {
this(lldbJNI.new_SBDeclaration__SWIG_0(), true);
}
public SBDeclaration(SBDeclaration rhs) {
this(lldbJNI.new_SBDeclaration__SWIG_1(SBDeclaration.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBDeclaration_IsValid(swigCPtr, this);
}
public SBFileSpec GetFileSpec() {
return new SBFileSpec(lldbJNI.SBDeclaration_GetFileSpec(swigCPtr, this), true);
}
public long GetLine() {
return lldbJNI.SBDeclaration_GetLine(swigCPtr, this);
}
public long GetColumn() {
return lldbJNI.SBDeclaration_GetColumn(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBDeclaration_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public void SetFileSpec(SBFileSpec filespec) {
lldbJNI.SBDeclaration_SetFileSpec(swigCPtr, this, SBFileSpec.getCPtr(filespec), filespec);
}
public void SetLine(long line) {
lldbJNI.SBDeclaration_SetLine(swigCPtr, this, line);
}
public void SetColumn(long column) {
lldbJNI.SBDeclaration_SetColumn(swigCPtr, this, column);
}
public String __str__() {
return lldbJNI.SBDeclaration___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,92 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBEnvironment {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBEnvironment(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBEnvironment obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBEnvironment(swigCPtr);
}
swigCPtr = 0;
}
}
public SBEnvironment() {
this(lldbJNI.new_SBEnvironment__SWIG_0(), true);
}
public SBEnvironment(SBEnvironment rhs) {
this(lldbJNI.new_SBEnvironment__SWIG_1(SBEnvironment.getCPtr(rhs), rhs), true);
}
public long GetNumValues() {
return lldbJNI.SBEnvironment_GetNumValues(swigCPtr, this);
}
public String Get(String name) {
return lldbJNI.SBEnvironment_Get(swigCPtr, this, name);
}
public String GetNameAtIndex(long index) {
return lldbJNI.SBEnvironment_GetNameAtIndex(swigCPtr, this, index);
}
public String GetValueAtIndex(long index) {
return lldbJNI.SBEnvironment_GetValueAtIndex(swigCPtr, this, index);
}
public SBStringList GetEntries() {
return new SBStringList(lldbJNI.SBEnvironment_GetEntries(swigCPtr, this), true);
}
public void PutEntry(String name_and_value) {
lldbJNI.SBEnvironment_PutEntry(swigCPtr, this, name_and_value);
}
public void SetEntries(SBStringList entries, boolean append) {
lldbJNI.SBEnvironment_SetEntries(swigCPtr, this, SBStringList.getCPtr(entries), entries, append);
}
public boolean Set(String name, String value, boolean overwrite) {
return lldbJNI.SBEnvironment_Set(swigCPtr, this, name, value, overwrite);
}
public boolean Unset(String name) {
return lldbJNI.SBEnvironment_Unset(swigCPtr, this, name);
}
public void Clear() {
lldbJNI.SBEnvironment_Clear(swigCPtr, this);
}
}

View File

@ -0,0 +1,120 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBError {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBError(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBError obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBError(swigCPtr);
}
swigCPtr = 0;
}
}
public SBError() {
this(lldbJNI.new_SBError__SWIG_0(), true);
}
public SBError(SBError rhs) {
this(lldbJNI.new_SBError__SWIG_1(SBError.getCPtr(rhs), rhs), true);
}
public String GetCString() {
return lldbJNI.SBError_GetCString(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBError_Clear(swigCPtr, this);
}
public boolean Fail() {
return lldbJNI.SBError_Fail(swigCPtr, this);
}
public boolean Success() {
return lldbJNI.SBError_Success(swigCPtr, this);
}
public long GetError() {
return lldbJNI.SBError_GetError(swigCPtr, this);
}
public ErrorType GetType() {
return ErrorType.swigToEnum(lldbJNI.SBError_GetType(swigCPtr, this));
}
public void SetError(long err, ErrorType type) {
lldbJNI.SBError_SetError(swigCPtr, this, err, type.swigValue());
}
public void SetErrorToErrno() {
lldbJNI.SBError_SetErrorToErrno(swigCPtr, this);
}
public void SetErrorToGenericError() {
lldbJNI.SBError_SetErrorToGenericError(swigCPtr, this);
}
public void SetErrorString(String err_str) {
lldbJNI.SBError_SetErrorString(swigCPtr, this, err_str);
}
public int SetErrorStringWithFormat(String format, String str1, String str2, String str3) {
return lldbJNI.SBError_SetErrorStringWithFormat__SWIG_0(swigCPtr, this, format, str1, str2, str3);
}
public int SetErrorStringWithFormat(String format, String str1, String str2) {
return lldbJNI.SBError_SetErrorStringWithFormat__SWIG_1(swigCPtr, this, format, str1, str2);
}
public int SetErrorStringWithFormat(String format, String str1) {
return lldbJNI.SBError_SetErrorStringWithFormat__SWIG_2(swigCPtr, this, format, str1);
}
public int SetErrorStringWithFormat(String format) {
return lldbJNI.SBError_SetErrorStringWithFormat__SWIG_3(swigCPtr, this, format);
}
public boolean IsValid() {
return lldbJNI.SBError_IsValid(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBError_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBError___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,92 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBEvent {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBEvent(swigCPtr);
}
swigCPtr = 0;
}
}
public SBEvent() {
this(lldbJNI.new_SBEvent__SWIG_0(), true);
}
public SBEvent(SBEvent rhs) {
this(lldbJNI.new_SBEvent__SWIG_1(SBEvent.getCPtr(rhs), rhs), true);
}
public SBEvent(long event, String cstr, long cstr_len) {
this(lldbJNI.new_SBEvent__SWIG_2(event, cstr, cstr_len), true);
}
public boolean IsValid() {
return lldbJNI.SBEvent_IsValid(swigCPtr, this);
}
public String GetDataFlavor() {
return lldbJNI.SBEvent_GetDataFlavor(swigCPtr, this);
}
public long GetType() {
return lldbJNI.SBEvent_GetType(swigCPtr, this);
}
public SBBroadcaster GetBroadcaster() {
return new SBBroadcaster(lldbJNI.SBEvent_GetBroadcaster(swigCPtr, this), true);
}
public String GetBroadcasterClass() {
return lldbJNI.SBEvent_GetBroadcasterClass(swigCPtr, this);
}
public boolean BroadcasterMatchesRef(SBBroadcaster broadcaster) {
return lldbJNI.SBEvent_BroadcasterMatchesRef(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster);
}
public void Clear() {
lldbJNI.SBEvent_Clear(swigCPtr, this);
}
public static String GetCStringFromEvent(SBEvent event) {
return lldbJNI.SBEvent_GetCStringFromEvent(SBEvent.getCPtr(event), event);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBEvent_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
}

View File

@ -0,0 +1,84 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBExecutionContext {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBExecutionContext(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBExecutionContext obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBExecutionContext(swigCPtr);
}
swigCPtr = 0;
}
}
public SBExecutionContext() {
this(lldbJNI.new_SBExecutionContext__SWIG_0(), true);
}
public SBExecutionContext(SBExecutionContext rhs) {
this(lldbJNI.new_SBExecutionContext__SWIG_1(SBExecutionContext.getCPtr(rhs), rhs), true);
}
public SBExecutionContext(SBTarget target) {
this(lldbJNI.new_SBExecutionContext__SWIG_2(SBTarget.getCPtr(target), target), true);
}
public SBExecutionContext(SBProcess process) {
this(lldbJNI.new_SBExecutionContext__SWIG_3(SBProcess.getCPtr(process), process), true);
}
public SBExecutionContext(SBThread thread) {
this(lldbJNI.new_SBExecutionContext__SWIG_4(SBThread.getCPtr(thread), thread), true);
}
public SBExecutionContext(SBFrame frame) {
this(lldbJNI.new_SBExecutionContext__SWIG_5(SBFrame.getCPtr(frame), frame), true);
}
public SBTarget GetTarget() {
return new SBTarget(lldbJNI.SBExecutionContext_GetTarget(swigCPtr, this), true);
}
public SBProcess GetProcess() {
return new SBProcess(lldbJNI.SBExecutionContext_GetProcess(swigCPtr, this), true);
}
public SBThread GetThread() {
return new SBThread(lldbJNI.SBExecutionContext_GetThread(swigCPtr, this), true);
}
public SBFrame GetFrame() {
return new SBFrame(lldbJNI.SBExecutionContext_GetFrame(swigCPtr, this), true);
}
}

View File

@ -0,0 +1,236 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBExpressionOptions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBExpressionOptions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBExpressionOptions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBExpressionOptions(swigCPtr);
}
swigCPtr = 0;
}
}
public SBExpressionOptions() {
this(lldbJNI.new_SBExpressionOptions__SWIG_0(), true);
}
public SBExpressionOptions(SBExpressionOptions rhs) {
this(lldbJNI.new_SBExpressionOptions__SWIG_1(SBExpressionOptions.getCPtr(rhs), rhs), true);
}
public boolean GetCoerceResultToId() {
return lldbJNI.SBExpressionOptions_GetCoerceResultToId(swigCPtr, this);
}
public void SetCoerceResultToId(boolean coerce) {
lldbJNI.SBExpressionOptions_SetCoerceResultToId__SWIG_0(swigCPtr, this, coerce);
}
public void SetCoerceResultToId() {
lldbJNI.SBExpressionOptions_SetCoerceResultToId__SWIG_1(swigCPtr, this);
}
public boolean GetUnwindOnError() {
return lldbJNI.SBExpressionOptions_GetUnwindOnError(swigCPtr, this);
}
public void SetUnwindOnError(boolean unwind) {
lldbJNI.SBExpressionOptions_SetUnwindOnError__SWIG_0(swigCPtr, this, unwind);
}
public void SetUnwindOnError() {
lldbJNI.SBExpressionOptions_SetUnwindOnError__SWIG_1(swigCPtr, this);
}
public boolean GetIgnoreBreakpoints() {
return lldbJNI.SBExpressionOptions_GetIgnoreBreakpoints(swigCPtr, this);
}
public void SetIgnoreBreakpoints(boolean ignore) {
lldbJNI.SBExpressionOptions_SetIgnoreBreakpoints__SWIG_0(swigCPtr, this, ignore);
}
public void SetIgnoreBreakpoints() {
lldbJNI.SBExpressionOptions_SetIgnoreBreakpoints__SWIG_1(swigCPtr, this);
}
public DynamicValueType GetFetchDynamicValue() {
return DynamicValueType.swigToEnum(lldbJNI.SBExpressionOptions_GetFetchDynamicValue(swigCPtr, this));
}
public void SetFetchDynamicValue(DynamicValueType dynamic) {
lldbJNI.SBExpressionOptions_SetFetchDynamicValue__SWIG_0(swigCPtr, this, dynamic.swigValue());
}
public void SetFetchDynamicValue() {
lldbJNI.SBExpressionOptions_SetFetchDynamicValue__SWIG_1(swigCPtr, this);
}
public long GetTimeoutInMicroSeconds() {
return lldbJNI.SBExpressionOptions_GetTimeoutInMicroSeconds(swigCPtr, this);
}
public void SetTimeoutInMicroSeconds(long timeout) {
lldbJNI.SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_0(swigCPtr, this, timeout);
}
public void SetTimeoutInMicroSeconds() {
lldbJNI.SBExpressionOptions_SetTimeoutInMicroSeconds__SWIG_1(swigCPtr, this);
}
public long GetOneThreadTimeoutInMicroSeconds() {
return lldbJNI.SBExpressionOptions_GetOneThreadTimeoutInMicroSeconds(swigCPtr, this);
}
public void SetOneThreadTimeoutInMicroSeconds(long timeout) {
lldbJNI.SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_0(swigCPtr, this, timeout);
}
public void SetOneThreadTimeoutInMicroSeconds() {
lldbJNI.SBExpressionOptions_SetOneThreadTimeoutInMicroSeconds__SWIG_1(swigCPtr, this);
}
public boolean GetTryAllThreads() {
return lldbJNI.SBExpressionOptions_GetTryAllThreads(swigCPtr, this);
}
public void SetTryAllThreads(boolean run_others) {
lldbJNI.SBExpressionOptions_SetTryAllThreads__SWIG_0(swigCPtr, this, run_others);
}
public void SetTryAllThreads() {
lldbJNI.SBExpressionOptions_SetTryAllThreads__SWIG_1(swigCPtr, this);
}
public boolean GetStopOthers() {
return lldbJNI.SBExpressionOptions_GetStopOthers(swigCPtr, this);
}
public void SetStopOthers(boolean stop_others) {
lldbJNI.SBExpressionOptions_SetStopOthers__SWIG_0(swigCPtr, this, stop_others);
}
public void SetStopOthers() {
lldbJNI.SBExpressionOptions_SetStopOthers__SWIG_1(swigCPtr, this);
}
public boolean GetTrapExceptions() {
return lldbJNI.SBExpressionOptions_GetTrapExceptions(swigCPtr, this);
}
public void SetTrapExceptions(boolean trap_exceptions) {
lldbJNI.SBExpressionOptions_SetTrapExceptions__SWIG_0(swigCPtr, this, trap_exceptions);
}
public void SetTrapExceptions() {
lldbJNI.SBExpressionOptions_SetTrapExceptions__SWIG_1(swigCPtr, this);
}
public void SetLanguage(LanguageType language) {
lldbJNI.SBExpressionOptions_SetLanguage(swigCPtr, this, language.swigValue());
}
public boolean GetGenerateDebugInfo() {
return lldbJNI.SBExpressionOptions_GetGenerateDebugInfo(swigCPtr, this);
}
public void SetGenerateDebugInfo(boolean b) {
lldbJNI.SBExpressionOptions_SetGenerateDebugInfo__SWIG_0(swigCPtr, this, b);
}
public void SetGenerateDebugInfo() {
lldbJNI.SBExpressionOptions_SetGenerateDebugInfo__SWIG_1(swigCPtr, this);
}
public boolean GetSuppressPersistentResult() {
return lldbJNI.SBExpressionOptions_GetSuppressPersistentResult(swigCPtr, this);
}
public void SetSuppressPersistentResult(boolean b) {
lldbJNI.SBExpressionOptions_SetSuppressPersistentResult__SWIG_0(swigCPtr, this, b);
}
public void SetSuppressPersistentResult() {
lldbJNI.SBExpressionOptions_SetSuppressPersistentResult__SWIG_1(swigCPtr, this);
}
public String GetPrefix() {
return lldbJNI.SBExpressionOptions_GetPrefix(swigCPtr, this);
}
public void SetPrefix(String prefix) {
lldbJNI.SBExpressionOptions_SetPrefix(swigCPtr, this, prefix);
}
public void SetAutoApplyFixIts(boolean b) {
lldbJNI.SBExpressionOptions_SetAutoApplyFixIts__SWIG_0(swigCPtr, this, b);
}
public void SetAutoApplyFixIts() {
lldbJNI.SBExpressionOptions_SetAutoApplyFixIts__SWIG_1(swigCPtr, this);
}
public boolean GetAutoApplyFixIts() {
return lldbJNI.SBExpressionOptions_GetAutoApplyFixIts(swigCPtr, this);
}
public void SetRetriesWithFixIts(java.math.BigInteger retries) {
lldbJNI.SBExpressionOptions_SetRetriesWithFixIts(swigCPtr, this, retries);
}
public java.math.BigInteger GetRetriesWithFixIts() {
return lldbJNI.SBExpressionOptions_GetRetriesWithFixIts(swigCPtr, this);
}
public boolean GetTopLevel() {
return lldbJNI.SBExpressionOptions_GetTopLevel(swigCPtr, this);
}
public void SetTopLevel(boolean b) {
lldbJNI.SBExpressionOptions_SetTopLevel__SWIG_0(swigCPtr, this, b);
}
public void SetTopLevel() {
lldbJNI.SBExpressionOptions_SetTopLevel__SWIG_1(swigCPtr, this);
}
public boolean GetAllowJIT() {
return lldbJNI.SBExpressionOptions_GetAllowJIT(swigCPtr, this);
}
public void SetAllowJIT(boolean allow) {
lldbJNI.SBExpressionOptions_SetAllowJIT(swigCPtr, this, allow);
}
}

View File

@ -0,0 +1,92 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBFile {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBFile(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBFile obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBFile(swigCPtr);
}
swigCPtr = 0;
}
}
public SBFile() {
this(lldbJNI.new_SBFile__SWIG_0(), true);
}
public SBFile(int fd, String mode, boolean transfer_ownership) {
this(lldbJNI.new_SBFile__SWIG_1(fd, mode, transfer_ownership), true);
}
public SBFile(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t file) {
this(lldbJNI.new_SBFile__SWIG_2(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(file)), true);
}
public static SBFile MakeBorrowed(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
return new SBFile(lldbJNI.SBFile_MakeBorrowed(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED)), true);
}
public static SBFile MakeForcingIOMethods(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t FORCE_IO_METHODS) {
return new SBFile(lldbJNI.SBFile_MakeForcingIOMethods(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(FORCE_IO_METHODS)), true);
}
public static SBFile MakeBorrowedForcingIOMethods(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED_FORCE_IO_METHODS) {
return new SBFile(lldbJNI.SBFile_MakeBorrowedForcingIOMethods(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED_FORCE_IO_METHODS)), true);
}
public SBError Read(SWIGTYPE_p_unsigned_char buf, long num_bytes, SWIGTYPE_p_size_t OUTPUT) {
return new SBError(lldbJNI.SBFile_Read(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(buf), num_bytes, SWIGTYPE_p_size_t.getCPtr(OUTPUT)), true);
}
public SBError Write(SWIGTYPE_p_unsigned_char buf, long num_bytes, SWIGTYPE_p_size_t OUTPUT) {
return new SBError(lldbJNI.SBFile_Write(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(buf), num_bytes, SWIGTYPE_p_size_t.getCPtr(OUTPUT)), true);
}
public void Flush() {
lldbJNI.SBFile_Flush(swigCPtr, this);
}
public boolean IsValid() {
return lldbJNI.SBFile_IsValid(swigCPtr, this);
}
public SBError Close() {
return new SBError(lldbJNI.SBFile_Close(swigCPtr, this), true);
}
public SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t GetFile() {
return new SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t(lldbJNI.SBFile_GetFile(swigCPtr, this), true);
}
}

View File

@ -0,0 +1,108 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBFileSpec {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBFileSpec(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBFileSpec obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBFileSpec(swigCPtr);
}
swigCPtr = 0;
}
}
public SBFileSpec() {
this(lldbJNI.new_SBFileSpec__SWIG_0(), true);
}
public SBFileSpec(SBFileSpec rhs) {
this(lldbJNI.new_SBFileSpec__SWIG_1(SBFileSpec.getCPtr(rhs), rhs), true);
}
public SBFileSpec(String path) {
this(lldbJNI.new_SBFileSpec__SWIG_2(path), true);
}
public SBFileSpec(String path, boolean resolve) {
this(lldbJNI.new_SBFileSpec__SWIG_3(path, resolve), true);
}
public boolean IsValid() {
return lldbJNI.SBFileSpec_IsValid(swigCPtr, this);
}
public boolean Exists() {
return lldbJNI.SBFileSpec_Exists(swigCPtr, this);
}
public boolean ResolveExecutableLocation() {
return lldbJNI.SBFileSpec_ResolveExecutableLocation(swigCPtr, this);
}
public String GetFilename() {
return lldbJNI.SBFileSpec_GetFilename(swigCPtr, this);
}
public String GetDirectory() {
return lldbJNI.SBFileSpec_GetDirectory(swigCPtr, this);
}
public void SetFilename(String filename) {
lldbJNI.SBFileSpec_SetFilename(swigCPtr, this, filename);
}
public void SetDirectory(String directory) {
lldbJNI.SBFileSpec_SetDirectory(swigCPtr, this, directory);
}
public long GetPath(String dst_path, long dst_len) {
return lldbJNI.SBFileSpec_GetPath(swigCPtr, this, dst_path, dst_len);
}
public static int ResolvePath(String src_path, String dst_path, long dst_len) {
return lldbJNI.SBFileSpec_ResolvePath(src_path, dst_path, dst_len);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBFileSpec_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public void AppendPathComponent(String file_or_directory) {
lldbJNI.SBFileSpec_AppendPathComponent(swigCPtr, this, file_or_directory);
}
public String __str__() {
return lldbJNI.SBFileSpec___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,80 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBFileSpecList {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBFileSpecList(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBFileSpecList obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBFileSpecList(swigCPtr);
}
swigCPtr = 0;
}
}
public SBFileSpecList() {
this(lldbJNI.new_SBFileSpecList__SWIG_0(), true);
}
public SBFileSpecList(SBFileSpecList rhs) {
this(lldbJNI.new_SBFileSpecList__SWIG_1(SBFileSpecList.getCPtr(rhs), rhs), true);
}
public long GetSize() {
return lldbJNI.SBFileSpecList_GetSize(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBFileSpecList_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public void Append(SBFileSpec sb_file) {
lldbJNI.SBFileSpecList_Append(swigCPtr, this, SBFileSpec.getCPtr(sb_file), sb_file);
}
public boolean AppendIfUnique(SBFileSpec sb_file) {
return lldbJNI.SBFileSpecList_AppendIfUnique(swigCPtr, this, SBFileSpec.getCPtr(sb_file), sb_file);
}
public void Clear() {
lldbJNI.SBFileSpecList_Clear(swigCPtr, this);
}
public long FindFileIndex(long idx, SBFileSpec sb_file, boolean full) {
return lldbJNI.SBFileSpecList_FindFileIndex(swigCPtr, this, idx, SBFileSpec.getCPtr(sb_file), sb_file, full);
}
public SBFileSpec GetFileSpecAtIndex(long idx) {
return new SBFileSpec(lldbJNI.SBFileSpecList_GetFileSpecAtIndex(swigCPtr, this, idx), true);
}
}

View File

@ -0,0 +1,220 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBFrame {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBFrame(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBFrame obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBFrame(swigCPtr);
}
swigCPtr = 0;
}
}
public SBFrame() {
this(lldbJNI.new_SBFrame__SWIG_0(), true);
}
public SBFrame(SBFrame rhs) {
this(lldbJNI.new_SBFrame__SWIG_1(SBFrame.getCPtr(rhs), rhs), true);
}
public boolean IsEqual(SBFrame rhs) {
return lldbJNI.SBFrame_IsEqual(swigCPtr, this, SBFrame.getCPtr(rhs), rhs);
}
public boolean IsValid() {
return lldbJNI.SBFrame_IsValid(swigCPtr, this);
}
public long GetFrameID() {
return lldbJNI.SBFrame_GetFrameID(swigCPtr, this);
}
public java.math.BigInteger GetCFA() {
return lldbJNI.SBFrame_GetCFA(swigCPtr, this);
}
public java.math.BigInteger GetPC() {
return lldbJNI.SBFrame_GetPC(swigCPtr, this);
}
public boolean SetPC(java.math.BigInteger new_pc) {
return lldbJNI.SBFrame_SetPC(swigCPtr, this, new_pc);
}
public java.math.BigInteger GetSP() {
return lldbJNI.SBFrame_GetSP(swigCPtr, this);
}
public java.math.BigInteger GetFP() {
return lldbJNI.SBFrame_GetFP(swigCPtr, this);
}
public SBAddress GetPCAddress() {
return new SBAddress(lldbJNI.SBFrame_GetPCAddress(swigCPtr, this), true);
}
public SBSymbolContext GetSymbolContext(long resolve_scope) {
return new SBSymbolContext(lldbJNI.SBFrame_GetSymbolContext(swigCPtr, this, resolve_scope), true);
}
public SBModule GetModule() {
return new SBModule(lldbJNI.SBFrame_GetModule(swigCPtr, this), true);
}
public SBCompileUnit GetCompileUnit() {
return new SBCompileUnit(lldbJNI.SBFrame_GetCompileUnit(swigCPtr, this), true);
}
public SBFunction GetFunction() {
return new SBFunction(lldbJNI.SBFrame_GetFunction(swigCPtr, this), true);
}
public SBSymbol GetSymbol() {
return new SBSymbol(lldbJNI.SBFrame_GetSymbol(swigCPtr, this), true);
}
public SBBlock GetBlock() {
return new SBBlock(lldbJNI.SBFrame_GetBlock(swigCPtr, this), true);
}
public String GetFunctionName() {
return lldbJNI.SBFrame_GetFunctionName__SWIG_0(swigCPtr, this);
}
public String GetDisplayFunctionName() {
return lldbJNI.SBFrame_GetDisplayFunctionName(swigCPtr, this);
}
public LanguageType GuessLanguage() {
return LanguageType.swigToEnum(lldbJNI.SBFrame_GuessLanguage(swigCPtr, this));
}
public boolean IsInlined() {
return lldbJNI.SBFrame_IsInlined__SWIG_0(swigCPtr, this);
}
public boolean IsArtificial() {
return lldbJNI.SBFrame_IsArtificial__SWIG_0(swigCPtr, this);
}
public SBValue EvaluateExpression(String expr) {
return new SBValue(lldbJNI.SBFrame_EvaluateExpression__SWIG_0(swigCPtr, this, expr), true);
}
public SBValue EvaluateExpression(String expr, DynamicValueType use_dynamic) {
return new SBValue(lldbJNI.SBFrame_EvaluateExpression__SWIG_1(swigCPtr, this, expr, use_dynamic.swigValue()), true);
}
public SBValue EvaluateExpression(String expr, DynamicValueType use_dynamic, boolean unwind_on_error) {
return new SBValue(lldbJNI.SBFrame_EvaluateExpression__SWIG_2(swigCPtr, this, expr, use_dynamic.swigValue(), unwind_on_error), true);
}
public SBValue EvaluateExpression(String expr, SBExpressionOptions options) {
return new SBValue(lldbJNI.SBFrame_EvaluateExpression__SWIG_3(swigCPtr, this, expr, SBExpressionOptions.getCPtr(options), options), true);
}
public SBBlock GetFrameBlock() {
return new SBBlock(lldbJNI.SBFrame_GetFrameBlock(swigCPtr, this), true);
}
public SBLineEntry GetLineEntry() {
return new SBLineEntry(lldbJNI.SBFrame_GetLineEntry(swigCPtr, this), true);
}
public SBThread GetThread() {
return new SBThread(lldbJNI.SBFrame_GetThread(swigCPtr, this), true);
}
public String Disassemble() {
return lldbJNI.SBFrame_Disassemble(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBFrame_Clear(swigCPtr, this);
}
public SBValueList GetVariables(boolean arguments, boolean locals, boolean statics, boolean in_scope_only) {
return new SBValueList(lldbJNI.SBFrame_GetVariables__SWIG_0(swigCPtr, this, arguments, locals, statics, in_scope_only), true);
}
public SBValueList GetVariables(boolean arguments, boolean locals, boolean statics, boolean in_scope_only, DynamicValueType use_dynamic) {
return new SBValueList(lldbJNI.SBFrame_GetVariables__SWIG_1(swigCPtr, this, arguments, locals, statics, in_scope_only, use_dynamic.swigValue()), true);
}
public SBValueList GetVariables(SBVariablesOptions options) {
return new SBValueList(lldbJNI.SBFrame_GetVariables__SWIG_2(swigCPtr, this, SBVariablesOptions.getCPtr(options), options), true);
}
public SBValueList GetRegisters() {
return new SBValueList(lldbJNI.SBFrame_GetRegisters(swigCPtr, this), true);
}
public SBValue FindVariable(String var_name) {
return new SBValue(lldbJNI.SBFrame_FindVariable__SWIG_0(swigCPtr, this, var_name), true);
}
public SBValue FindVariable(String var_name, DynamicValueType use_dynamic) {
return new SBValue(lldbJNI.SBFrame_FindVariable__SWIG_1(swigCPtr, this, var_name, use_dynamic.swigValue()), true);
}
public SBValue FindRegister(String name) {
return new SBValue(lldbJNI.SBFrame_FindRegister(swigCPtr, this, name), true);
}
public SBValue GetValueForVariablePath(String var_path) {
return new SBValue(lldbJNI.SBFrame_GetValueForVariablePath__SWIG_0(swigCPtr, this, var_path), true);
}
public SBValue GetValueForVariablePath(String var_path, DynamicValueType use_dynamic) {
return new SBValue(lldbJNI.SBFrame_GetValueForVariablePath__SWIG_1(swigCPtr, this, var_path, use_dynamic.swigValue()), true);
}
public SBValue FindValue(String name, ValueType value_type) {
return new SBValue(lldbJNI.SBFrame_FindValue__SWIG_0(swigCPtr, this, name, value_type.swigValue()), true);
}
public SBValue FindValue(String name, ValueType value_type, DynamicValueType use_dynamic) {
return new SBValue(lldbJNI.SBFrame_FindValue__SWIG_1(swigCPtr, this, name, value_type.swigValue(), use_dynamic.swigValue()), true);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBFrame_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBFrame___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,116 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBFunction {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBFunction(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBFunction obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBFunction(swigCPtr);
}
swigCPtr = 0;
}
}
public SBFunction() {
this(lldbJNI.new_SBFunction__SWIG_0(), true);
}
public SBFunction(SBFunction rhs) {
this(lldbJNI.new_SBFunction__SWIG_1(SBFunction.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBFunction_IsValid(swigCPtr, this);
}
public String GetName() {
return lldbJNI.SBFunction_GetName(swigCPtr, this);
}
public String GetDisplayName() {
return lldbJNI.SBFunction_GetDisplayName(swigCPtr, this);
}
public String GetMangledName() {
return lldbJNI.SBFunction_GetMangledName(swigCPtr, this);
}
public SBInstructionList GetInstructions(SBTarget target) {
return new SBInstructionList(lldbJNI.SBFunction_GetInstructions__SWIG_0(swigCPtr, this, SBTarget.getCPtr(target), target), true);
}
public SBInstructionList GetInstructions(SBTarget target, String flavor) {
return new SBInstructionList(lldbJNI.SBFunction_GetInstructions__SWIG_1(swigCPtr, this, SBTarget.getCPtr(target), target, flavor), true);
}
public SBAddress GetStartAddress() {
return new SBAddress(lldbJNI.SBFunction_GetStartAddress(swigCPtr, this), true);
}
public SBAddress GetEndAddress() {
return new SBAddress(lldbJNI.SBFunction_GetEndAddress(swigCPtr, this), true);
}
public String GetArgumentName(long arg_idx) {
return lldbJNI.SBFunction_GetArgumentName(swigCPtr, this, arg_idx);
}
public long GetPrologueByteSize() {
return lldbJNI.SBFunction_GetPrologueByteSize(swigCPtr, this);
}
public SBType GetType() {
return new SBType(lldbJNI.SBFunction_GetType(swigCPtr, this), true);
}
public SBBlock GetBlock() {
return new SBBlock(lldbJNI.SBFunction_GetBlock(swigCPtr, this), true);
}
public LanguageType GetLanguage() {
return LanguageType.swigToEnum(lldbJNI.SBFunction_GetLanguage(swigCPtr, this));
}
public boolean GetIsOptimized() {
return lldbJNI.SBFunction_GetIsOptimized(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBFunction_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBFunction___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,84 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBHostOS {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBHostOS(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBHostOS obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBHostOS(swigCPtr);
}
swigCPtr = 0;
}
}
public static SBFileSpec GetProgramFileSpec() {
return new SBFileSpec(lldbJNI.SBHostOS_GetProgramFileSpec(), true);
}
public static SBFileSpec GetLLDBPythonPath() {
return new SBFileSpec(lldbJNI.SBHostOS_GetLLDBPythonPath(), true);
}
public static SBFileSpec GetLLDBPath(PathType path_type) {
return new SBFileSpec(lldbJNI.SBHostOS_GetLLDBPath(path_type.swigValue()), true);
}
public static SBFileSpec GetUserHomeDirectory() {
return new SBFileSpec(lldbJNI.SBHostOS_GetUserHomeDirectory(), true);
}
public static void ThreadCreated(String name) {
lldbJNI.SBHostOS_ThreadCreated(name);
}
public static SWIGTYPE_p_pthread_t ThreadCreate(String name, SWIGTYPE_p_f_p_void__p_void arg1, SWIGTYPE_p_void thread_arg, SBError err) {
return new SWIGTYPE_p_pthread_t(lldbJNI.SBHostOS_ThreadCreate(name, SWIGTYPE_p_f_p_void__p_void.getCPtr(arg1), SWIGTYPE_p_void.getCPtr(thread_arg), SBError.getCPtr(err), err), true);
}
public static boolean ThreadCancel(SWIGTYPE_p_pthread_t thread, SBError err) {
return lldbJNI.SBHostOS_ThreadCancel(SWIGTYPE_p_pthread_t.getCPtr(thread), SBError.getCPtr(err), err);
}
public static boolean ThreadDetach(SWIGTYPE_p_pthread_t thread, SBError err) {
return lldbJNI.SBHostOS_ThreadDetach(SWIGTYPE_p_pthread_t.getCPtr(thread), SBError.getCPtr(err), err);
}
public static boolean ThreadJoin(SWIGTYPE_p_pthread_t thread, SWIGTYPE_p_p_void result, SBError err) {
return lldbJNI.SBHostOS_ThreadJoin(SWIGTYPE_p_pthread_t.getCPtr(thread), SWIGTYPE_p_p_void.getCPtr(result), SBError.getCPtr(err), err);
}
public SBHostOS() {
this(lldbJNI.new_SBHostOS(), true);
}
}

View File

@ -0,0 +1,120 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBInstruction {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBInstruction(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBInstruction obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBInstruction(swigCPtr);
}
swigCPtr = 0;
}
}
public SBInstruction() {
this(lldbJNI.new_SBInstruction__SWIG_0(), true);
}
public SBInstruction(SBInstruction rhs) {
this(lldbJNI.new_SBInstruction__SWIG_1(SBInstruction.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBInstruction_IsValid(swigCPtr, this);
}
public SBAddress GetAddress() {
return new SBAddress(lldbJNI.SBInstruction_GetAddress(swigCPtr, this), true);
}
public String GetMnemonic(SBTarget target) {
return lldbJNI.SBInstruction_GetMnemonic(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public String GetOperands(SBTarget target) {
return lldbJNI.SBInstruction_GetOperands(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public String GetComment(SBTarget target) {
return lldbJNI.SBInstruction_GetComment(swigCPtr, this, SBTarget.getCPtr(target), target);
}
public SBData GetData(SBTarget target) {
return new SBData(lldbJNI.SBInstruction_GetData(swigCPtr, this, SBTarget.getCPtr(target), target), true);
}
public long GetByteSize() {
return lldbJNI.SBInstruction_GetByteSize(swigCPtr, this);
}
public boolean DoesBranch() {
return lldbJNI.SBInstruction_DoesBranch(swigCPtr, this);
}
public boolean HasDelaySlot() {
return lldbJNI.SBInstruction_HasDelaySlot(swigCPtr, this);
}
public boolean CanSetBreakpoint() {
return lldbJNI.SBInstruction_CanSetBreakpoint(swigCPtr, this);
}
public void Print(SBFile out) {
lldbJNI.SBInstruction_Print__SWIG_0(swigCPtr, this, SBFile.getCPtr(out), out);
}
public void Print(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
lldbJNI.SBInstruction_Print__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED));
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBInstruction_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public boolean EmulateWithFrame(SBFrame frame, long evaluate_options) {
return lldbJNI.SBInstruction_EmulateWithFrame(swigCPtr, this, SBFrame.getCPtr(frame), frame, evaluate_options);
}
public boolean DumpEmulation(String triple) {
return lldbJNI.SBInstruction_DumpEmulation(swigCPtr, this, triple);
}
public boolean TestEmulation(SBStream output_stream, String test_file) {
return lldbJNI.SBInstruction_TestEmulation(swigCPtr, this, SBStream.getCPtr(output_stream), output_stream, test_file);
}
public String __str__() {
return lldbJNI.SBInstruction___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,96 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBInstructionList {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBInstructionList(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBInstructionList obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBInstructionList(swigCPtr);
}
swigCPtr = 0;
}
}
public SBInstructionList() {
this(lldbJNI.new_SBInstructionList__SWIG_0(), true);
}
public SBInstructionList(SBInstructionList rhs) {
this(lldbJNI.new_SBInstructionList__SWIG_1(SBInstructionList.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBInstructionList_IsValid(swigCPtr, this);
}
public long GetSize() {
return lldbJNI.SBInstructionList_GetSize(swigCPtr, this);
}
public SBInstruction GetInstructionAtIndex(long idx) {
return new SBInstruction(lldbJNI.SBInstructionList_GetInstructionAtIndex(swigCPtr, this, idx), true);
}
public long GetInstructionsCount(SBAddress start, SBAddress end, boolean canSetBreakpoint) {
return lldbJNI.SBInstructionList_GetInstructionsCount(swigCPtr, this, SBAddress.getCPtr(start), start, SBAddress.getCPtr(end), end, canSetBreakpoint);
}
public void Clear() {
lldbJNI.SBInstructionList_Clear(swigCPtr, this);
}
public void AppendInstruction(SBInstruction inst) {
lldbJNI.SBInstructionList_AppendInstruction(swigCPtr, this, SBInstruction.getCPtr(inst), inst);
}
public void Print(SBFile out) {
lldbJNI.SBInstructionList_Print__SWIG_0(swigCPtr, this, SBFile.getCPtr(out), out);
}
public void Print(SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t BORROWED) {
lldbJNI.SBInstructionList_Print__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t.getCPtr(BORROWED));
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBInstructionList_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public boolean DumpEmulationForAllInstructions(String triple) {
return lldbJNI.SBInstructionList_DumpEmulationForAllInstructions(swigCPtr, this, triple);
}
public String __str__() {
return lldbJNI.SBInstructionList___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,56 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBLanguageRuntime {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBLanguageRuntime(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBLanguageRuntime obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBLanguageRuntime(swigCPtr);
}
swigCPtr = 0;
}
}
public static LanguageType GetLanguageTypeFromString(String string) {
return LanguageType.swigToEnum(lldbJNI.SBLanguageRuntime_GetLanguageTypeFromString(string));
}
public static String GetNameForLanguageType(LanguageType language) {
return lldbJNI.SBLanguageRuntime_GetNameForLanguageType(language.swigValue());
}
public SBLanguageRuntime() {
this(lldbJNI.new_SBLanguageRuntime(), true);
}
}

View File

@ -0,0 +1,223 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBLaunchInfo {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBLaunchInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBLaunchInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBLaunchInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public SBLaunchInfo(String[] argv) {
this(lldbJNI.new_SBLaunchInfo(argv), true);
}
public java.math.BigInteger GetProcessID() {
return lldbJNI.SBLaunchInfo_GetProcessID(swigCPtr, this);
}
public long GetUserID() {
return lldbJNI.SBLaunchInfo_GetUserID(swigCPtr, this);
}
public long GetGroupID() {
return lldbJNI.SBLaunchInfo_GetGroupID(swigCPtr, this);
}
public boolean UserIDIsValid() {
return lldbJNI.SBLaunchInfo_UserIDIsValid(swigCPtr, this);
}
public boolean GroupIDIsValid() {
return lldbJNI.SBLaunchInfo_GroupIDIsValid(swigCPtr, this);
}
public void SetUserID(long uid) {
lldbJNI.SBLaunchInfo_SetUserID(swigCPtr, this, uid);
}
public void SetGroupID(long gid) {
lldbJNI.SBLaunchInfo_SetGroupID(swigCPtr, this, gid);
}
public SBFileSpec GetExecutableFile() {
return new SBFileSpec(lldbJNI.SBLaunchInfo_GetExecutableFile(swigCPtr, this), true);
}
public void SetExecutableFile(SBFileSpec exe_file, boolean add_as_first_arg) {
lldbJNI.SBLaunchInfo_SetExecutableFile(swigCPtr, this, SBFileSpec.getCPtr(exe_file), exe_file, add_as_first_arg);
}
public SBListener GetListener() {
return new SBListener(lldbJNI.SBLaunchInfo_GetListener(swigCPtr, this), true);
}
public void SetListener(SBListener listener) {
lldbJNI.SBLaunchInfo_SetListener(swigCPtr, this, SBListener.getCPtr(listener), listener);
}
public long GetNumArguments() {
return lldbJNI.SBLaunchInfo_GetNumArguments(swigCPtr, this);
}
public String GetArgumentAtIndex(long idx) {
return lldbJNI.SBLaunchInfo_GetArgumentAtIndex(swigCPtr, this, idx);
}
public void SetArguments(String[] argv, boolean append) {
lldbJNI.SBLaunchInfo_SetArguments(swigCPtr, this, argv, append);
}
public long GetNumEnvironmentEntries() {
return lldbJNI.SBLaunchInfo_GetNumEnvironmentEntries(swigCPtr, this);
}
public String GetEnvironmentEntryAtIndex(long idx) {
return lldbJNI.SBLaunchInfo_GetEnvironmentEntryAtIndex(swigCPtr, this, idx);
}
public void SetEnvironmentEntries(String[] envp, boolean append) {
lldbJNI.SBLaunchInfo_SetEnvironmentEntries(swigCPtr, this, envp, append);
}
public void SetEnvironment(SBEnvironment env, boolean append) {
lldbJNI.SBLaunchInfo_SetEnvironment(swigCPtr, this, SBEnvironment.getCPtr(env), env, append);
}
public SBEnvironment GetEnvironment() {
return new SBEnvironment(lldbJNI.SBLaunchInfo_GetEnvironment(swigCPtr, this), true);
}
public void Clear() {
lldbJNI.SBLaunchInfo_Clear(swigCPtr, this);
}
public String GetWorkingDirectory() {
return lldbJNI.SBLaunchInfo_GetWorkingDirectory(swigCPtr, this);
}
public void SetWorkingDirectory(String working_dir) {
lldbJNI.SBLaunchInfo_SetWorkingDirectory(swigCPtr, this, working_dir);
}
public long GetLaunchFlags() {
return lldbJNI.SBLaunchInfo_GetLaunchFlags(swigCPtr, this);
}
public void SetLaunchFlags(long flags) {
lldbJNI.SBLaunchInfo_SetLaunchFlags(swigCPtr, this, flags);
}
public String GetProcessPluginName() {
return lldbJNI.SBLaunchInfo_GetProcessPluginName(swigCPtr, this);
}
public void SetProcessPluginName(String plugin_name) {
lldbJNI.SBLaunchInfo_SetProcessPluginName(swigCPtr, this, plugin_name);
}
public String GetShell() {
return lldbJNI.SBLaunchInfo_GetShell(swigCPtr, this);
}
public void SetShell(String path) {
lldbJNI.SBLaunchInfo_SetShell(swigCPtr, this, path);
}
public boolean GetShellExpandArguments() {
return lldbJNI.SBLaunchInfo_GetShellExpandArguments(swigCPtr, this);
}
public void SetShellExpandArguments(boolean expand) {
lldbJNI.SBLaunchInfo_SetShellExpandArguments(swigCPtr, this, expand);
}
public long GetResumeCount() {
return lldbJNI.SBLaunchInfo_GetResumeCount(swigCPtr, this);
}
public void SetResumeCount(long c) {
lldbJNI.SBLaunchInfo_SetResumeCount(swigCPtr, this, c);
}
public boolean AddCloseFileAction(int fd) {
return lldbJNI.SBLaunchInfo_AddCloseFileAction(swigCPtr, this, fd);
}
public boolean AddDuplicateFileAction(int fd, int dup_fd) {
return lldbJNI.SBLaunchInfo_AddDuplicateFileAction(swigCPtr, this, fd, dup_fd);
}
public boolean AddOpenFileAction(int fd, String path, boolean read, boolean write) {
return lldbJNI.SBLaunchInfo_AddOpenFileAction(swigCPtr, this, fd, path, read, write);
}
public boolean AddSuppressFileAction(int fd, boolean read, boolean write) {
return lldbJNI.SBLaunchInfo_AddSuppressFileAction(swigCPtr, this, fd, read, write);
}
public void SetLaunchEventData(String data) {
lldbJNI.SBLaunchInfo_SetLaunchEventData(swigCPtr, this, data);
}
public String GetLaunchEventData() {
return lldbJNI.SBLaunchInfo_GetLaunchEventData(swigCPtr, this);
}
public boolean GetDetachOnError() {
return lldbJNI.SBLaunchInfo_GetDetachOnError(swigCPtr, this);
}
public void SetDetachOnError(boolean enable) {
lldbJNI.SBLaunchInfo_SetDetachOnError(swigCPtr, this, enable);
}
public String GetScriptedProcessClassName() {
return lldbJNI.SBLaunchInfo_GetScriptedProcessClassName(swigCPtr, this);
}
public void SetScriptedProcessClassName(String class_name) {
lldbJNI.SBLaunchInfo_SetScriptedProcessClassName(swigCPtr, this, class_name);
}
public SBStructuredData GetScriptedProcessDictionary() {
return new SBStructuredData(lldbJNI.SBLaunchInfo_GetScriptedProcessDictionary(swigCPtr, this), true);
}
public void SetScriptedProcessDictionary(SBStructuredData dict) {
lldbJNI.SBLaunchInfo_SetScriptedProcessDictionary(swigCPtr, this, SBStructuredData.getCPtr(dict), dict);
}
}

View File

@ -0,0 +1,96 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBLineEntry {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBLineEntry(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBLineEntry obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBLineEntry(swigCPtr);
}
swigCPtr = 0;
}
}
public SBLineEntry() {
this(lldbJNI.new_SBLineEntry__SWIG_0(), true);
}
public SBLineEntry(SBLineEntry rhs) {
this(lldbJNI.new_SBLineEntry__SWIG_1(SBLineEntry.getCPtr(rhs), rhs), true);
}
public SBAddress GetStartAddress() {
return new SBAddress(lldbJNI.SBLineEntry_GetStartAddress(swigCPtr, this), true);
}
public SBAddress GetEndAddress() {
return new SBAddress(lldbJNI.SBLineEntry_GetEndAddress(swigCPtr, this), true);
}
public boolean IsValid() {
return lldbJNI.SBLineEntry_IsValid(swigCPtr, this);
}
public SBFileSpec GetFileSpec() {
return new SBFileSpec(lldbJNI.SBLineEntry_GetFileSpec(swigCPtr, this), true);
}
public long GetLine() {
return lldbJNI.SBLineEntry_GetLine(swigCPtr, this);
}
public long GetColumn() {
return lldbJNI.SBLineEntry_GetColumn(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBLineEntry_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public void SetFileSpec(SBFileSpec filespec) {
lldbJNI.SBLineEntry_SetFileSpec(swigCPtr, this, SBFileSpec.getCPtr(filespec), filespec);
}
public void SetLine(long line) {
lldbJNI.SBLineEntry_SetLine(swigCPtr, this, line);
}
public void SetColumn(long column) {
lldbJNI.SBLineEntry_SetColumn(swigCPtr, this, column);
}
public String __str__() {
return lldbJNI.SBLineEntry___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,124 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBListener {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBListener(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBListener obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBListener(swigCPtr);
}
swigCPtr = 0;
}
}
public SBListener() {
this(lldbJNI.new_SBListener__SWIG_0(), true);
}
public SBListener(String name) {
this(lldbJNI.new_SBListener__SWIG_1(name), true);
}
public SBListener(SBListener rhs) {
this(lldbJNI.new_SBListener__SWIG_2(SBListener.getCPtr(rhs), rhs), true);
}
public void AddEvent(SBEvent event) {
lldbJNI.SBListener_AddEvent(swigCPtr, this, SBEvent.getCPtr(event), event);
}
public void Clear() {
lldbJNI.SBListener_Clear(swigCPtr, this);
}
public boolean IsValid() {
return lldbJNI.SBListener_IsValid(swigCPtr, this);
}
public long StartListeningForEventClass(SBDebugger debugger, String broadcaster_class, long event_mask) {
return lldbJNI.SBListener_StartListeningForEventClass(swigCPtr, this, SBDebugger.getCPtr(debugger), debugger, broadcaster_class, event_mask);
}
public long StopListeningForEventClass(SBDebugger debugger, String broadcaster_class, long event_mask) {
return lldbJNI.SBListener_StopListeningForEventClass(swigCPtr, this, SBDebugger.getCPtr(debugger), debugger, broadcaster_class, event_mask);
}
public long StartListeningForEvents(SBBroadcaster broadcaster, long event_mask) {
return lldbJNI.SBListener_StartListeningForEvents(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster, event_mask);
}
public boolean StopListeningForEvents(SBBroadcaster broadcaster, long event_mask) {
return lldbJNI.SBListener_StopListeningForEvents(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster, event_mask);
}
public boolean WaitForEvent(long num_seconds, SBEvent event) {
return lldbJNI.SBListener_WaitForEvent(swigCPtr, this, num_seconds, SBEvent.getCPtr(event), event);
}
public boolean WaitForEventForBroadcaster(long num_seconds, SBBroadcaster broadcaster, SBEvent sb_event) {
return lldbJNI.SBListener_WaitForEventForBroadcaster(swigCPtr, this, num_seconds, SBBroadcaster.getCPtr(broadcaster), broadcaster, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean WaitForEventForBroadcasterWithType(long num_seconds, SBBroadcaster broadcaster, long event_type_mask, SBEvent sb_event) {
return lldbJNI.SBListener_WaitForEventForBroadcasterWithType(swigCPtr, this, num_seconds, SBBroadcaster.getCPtr(broadcaster), broadcaster, event_type_mask, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean PeekAtNextEvent(SBEvent sb_event) {
return lldbJNI.SBListener_PeekAtNextEvent(swigCPtr, this, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean PeekAtNextEventForBroadcaster(SBBroadcaster broadcaster, SBEvent sb_event) {
return lldbJNI.SBListener_PeekAtNextEventForBroadcaster(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean PeekAtNextEventForBroadcasterWithType(SBBroadcaster broadcaster, long event_type_mask, SBEvent sb_event) {
return lldbJNI.SBListener_PeekAtNextEventForBroadcasterWithType(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster, event_type_mask, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean GetNextEvent(SBEvent sb_event) {
return lldbJNI.SBListener_GetNextEvent(swigCPtr, this, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean GetNextEventForBroadcaster(SBBroadcaster broadcaster, SBEvent sb_event) {
return lldbJNI.SBListener_GetNextEventForBroadcaster(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean GetNextEventForBroadcasterWithType(SBBroadcaster broadcaster, long event_type_mask, SBEvent sb_event) {
return lldbJNI.SBListener_GetNextEventForBroadcasterWithType(swigCPtr, this, SBBroadcaster.getCPtr(broadcaster), broadcaster, event_type_mask, SBEvent.getCPtr(sb_event), sb_event);
}
public boolean HandleBroadcastEvent(SBEvent event) {
return lldbJNI.SBListener_HandleBroadcastEvent(swigCPtr, this, SBEvent.getCPtr(event), event);
}
}

View File

@ -0,0 +1,92 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBMemoryRegionInfo {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBMemoryRegionInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBMemoryRegionInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBMemoryRegionInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public SBMemoryRegionInfo() {
this(lldbJNI.new_SBMemoryRegionInfo__SWIG_0(), true);
}
public SBMemoryRegionInfo(SBMemoryRegionInfo rhs) {
this(lldbJNI.new_SBMemoryRegionInfo__SWIG_1(SBMemoryRegionInfo.getCPtr(rhs), rhs), true);
}
public void Clear() {
lldbJNI.SBMemoryRegionInfo_Clear(swigCPtr, this);
}
public java.math.BigInteger GetRegionBase() {
return lldbJNI.SBMemoryRegionInfo_GetRegionBase(swigCPtr, this);
}
public java.math.BigInteger GetRegionEnd() {
return lldbJNI.SBMemoryRegionInfo_GetRegionEnd(swigCPtr, this);
}
public boolean IsReadable() {
return lldbJNI.SBMemoryRegionInfo_IsReadable(swigCPtr, this);
}
public boolean IsWritable() {
return lldbJNI.SBMemoryRegionInfo_IsWritable(swigCPtr, this);
}
public boolean IsExecutable() {
return lldbJNI.SBMemoryRegionInfo_IsExecutable(swigCPtr, this);
}
public boolean IsMapped() {
return lldbJNI.SBMemoryRegionInfo_IsMapped(swigCPtr, this);
}
public String GetName() {
return lldbJNI.SBMemoryRegionInfo_GetName(swigCPtr, this);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBMemoryRegionInfo_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBMemoryRegionInfo___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,72 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBMemoryRegionInfoList {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBMemoryRegionInfoList(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBMemoryRegionInfoList obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBMemoryRegionInfoList(swigCPtr);
}
swigCPtr = 0;
}
}
public SBMemoryRegionInfoList() {
this(lldbJNI.new_SBMemoryRegionInfoList__SWIG_0(), true);
}
public SBMemoryRegionInfoList(SBMemoryRegionInfoList rhs) {
this(lldbJNI.new_SBMemoryRegionInfoList__SWIG_1(SBMemoryRegionInfoList.getCPtr(rhs), rhs), true);
}
public long GetSize() {
return lldbJNI.SBMemoryRegionInfoList_GetSize(swigCPtr, this);
}
public boolean GetMemoryRegionAtIndex(long idx, SBMemoryRegionInfo region_info) {
return lldbJNI.SBMemoryRegionInfoList_GetMemoryRegionAtIndex(swigCPtr, this, idx, SBMemoryRegionInfo.getCPtr(region_info), region_info);
}
public void Append(SBMemoryRegionInfo region) {
lldbJNI.SBMemoryRegionInfoList_Append__SWIG_0(swigCPtr, this, SBMemoryRegionInfo.getCPtr(region), region);
}
public void Append(SBMemoryRegionInfoList region_list) {
lldbJNI.SBMemoryRegionInfoList_Append__SWIG_1(swigCPtr, this, SBMemoryRegionInfoList.getCPtr(region_list), region_list);
}
public void Clear() {
lldbJNI.SBMemoryRegionInfoList_Clear(swigCPtr, this);
}
}

View File

@ -0,0 +1,232 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBModule {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBModule(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBModule obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBModule(swigCPtr);
}
swigCPtr = 0;
}
}
public SBModule() {
this(lldbJNI.new_SBModule__SWIG_0(), true);
}
public SBModule(SBModule rhs) {
this(lldbJNI.new_SBModule__SWIG_1(SBModule.getCPtr(rhs), rhs), true);
}
public SBModule(SBModuleSpec module_spec) {
this(lldbJNI.new_SBModule__SWIG_2(SBModuleSpec.getCPtr(module_spec), module_spec), true);
}
public SBModule(SBProcess process, java.math.BigInteger header_addr) {
this(lldbJNI.new_SBModule__SWIG_3(SBProcess.getCPtr(process), process, header_addr), true);
}
public boolean IsValid() {
return lldbJNI.SBModule_IsValid(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBModule_Clear(swigCPtr, this);
}
public SBFileSpec GetFileSpec() {
return new SBFileSpec(lldbJNI.SBModule_GetFileSpec(swigCPtr, this), true);
}
public SBFileSpec GetPlatformFileSpec() {
return new SBFileSpec(lldbJNI.SBModule_GetPlatformFileSpec(swigCPtr, this), true);
}
public boolean SetPlatformFileSpec(SBFileSpec platform_file) {
return lldbJNI.SBModule_SetPlatformFileSpec(swigCPtr, this, SBFileSpec.getCPtr(platform_file), platform_file);
}
public SBFileSpec GetRemoteInstallFileSpec() {
return new SBFileSpec(lldbJNI.SBModule_GetRemoteInstallFileSpec(swigCPtr, this), true);
}
public boolean SetRemoteInstallFileSpec(SBFileSpec file) {
return lldbJNI.SBModule_SetRemoteInstallFileSpec(swigCPtr, this, SBFileSpec.getCPtr(file), file);
}
public String GetUUIDString() {
return lldbJNI.SBModule_GetUUIDString(swigCPtr, this);
}
public SBSection FindSection(String sect_name) {
return new SBSection(lldbJNI.SBModule_FindSection(swigCPtr, this, sect_name), true);
}
public SBAddress ResolveFileAddress(java.math.BigInteger vm_addr) {
return new SBAddress(lldbJNI.SBModule_ResolveFileAddress(swigCPtr, this, vm_addr), true);
}
public SBSymbolContext ResolveSymbolContextForAddress(SBAddress addr, long resolve_scope) {
return new SBSymbolContext(lldbJNI.SBModule_ResolveSymbolContextForAddress(swigCPtr, this, SBAddress.getCPtr(addr), addr, resolve_scope), true);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBModule_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public long GetNumCompileUnits() {
return lldbJNI.SBModule_GetNumCompileUnits(swigCPtr, this);
}
public SBCompileUnit GetCompileUnitAtIndex(long arg0) {
return new SBCompileUnit(lldbJNI.SBModule_GetCompileUnitAtIndex(swigCPtr, this, arg0), true);
}
public SBSymbolContextList FindCompileUnits(SBFileSpec sb_file_spec) {
return new SBSymbolContextList(lldbJNI.SBModule_FindCompileUnits(swigCPtr, this, SBFileSpec.getCPtr(sb_file_spec), sb_file_spec), true);
}
public long GetNumSymbols() {
return lldbJNI.SBModule_GetNumSymbols(swigCPtr, this);
}
public SBSymbol GetSymbolAtIndex(long idx) {
return new SBSymbol(lldbJNI.SBModule_GetSymbolAtIndex(swigCPtr, this, idx), true);
}
public SBSymbol FindSymbol(String name, SymbolType type) {
return new SBSymbol(lldbJNI.SBModule_FindSymbol__SWIG_0(swigCPtr, this, name, type.swigValue()), true);
}
public SBSymbol FindSymbol(String name) {
return new SBSymbol(lldbJNI.SBModule_FindSymbol__SWIG_1(swigCPtr, this, name), true);
}
public SBSymbolContextList FindSymbols(String name, SymbolType type) {
return new SBSymbolContextList(lldbJNI.SBModule_FindSymbols__SWIG_0(swigCPtr, this, name, type.swigValue()), true);
}
public SBSymbolContextList FindSymbols(String name) {
return new SBSymbolContextList(lldbJNI.SBModule_FindSymbols__SWIG_1(swigCPtr, this, name), true);
}
public long GetNumSections() {
return lldbJNI.SBModule_GetNumSections(swigCPtr, this);
}
public SBSection GetSectionAtIndex(long idx) {
return new SBSection(lldbJNI.SBModule_GetSectionAtIndex(swigCPtr, this, idx), true);
}
public SBSymbolContextList FindFunctions(String name, long name_type_mask) {
return new SBSymbolContextList(lldbJNI.SBModule_FindFunctions__SWIG_0(swigCPtr, this, name, name_type_mask), true);
}
public SBSymbolContextList FindFunctions(String name) {
return new SBSymbolContextList(lldbJNI.SBModule_FindFunctions__SWIG_1(swigCPtr, this, name), true);
}
public SBType FindFirstType(String name) {
return new SBType(lldbJNI.SBModule_FindFirstType(swigCPtr, this, name), true);
}
public SBTypeList FindTypes(String type) {
return new SBTypeList(lldbJNI.SBModule_FindTypes(swigCPtr, this, type), true);
}
public SBType GetTypeByID(java.math.BigInteger uid) {
return new SBType(lldbJNI.SBModule_GetTypeByID(swigCPtr, this, uid), true);
}
public SBType GetBasicType(BasicType type) {
return new SBType(lldbJNI.SBModule_GetBasicType(swigCPtr, this, type.swigValue()), true);
}
public SBTypeList GetTypes(long type_mask) {
return new SBTypeList(lldbJNI.SBModule_GetTypes__SWIG_0(swigCPtr, this, type_mask), true);
}
public SBTypeList GetTypes() {
return new SBTypeList(lldbJNI.SBModule_GetTypes__SWIG_1(swigCPtr, this), true);
}
public SBValueList FindGlobalVariables(SBTarget target, String name, long max_matches) {
return new SBValueList(lldbJNI.SBModule_FindGlobalVariables(swigCPtr, this, SBTarget.getCPtr(target), target, name, max_matches), true);
}
public SBValue FindFirstGlobalVariable(SBTarget target, String name) {
return new SBValue(lldbJNI.SBModule_FindFirstGlobalVariable(swigCPtr, this, SBTarget.getCPtr(target), target, name), true);
}
public ByteOrder GetByteOrder() {
return ByteOrder.swigToEnum(lldbJNI.SBModule_GetByteOrder(swigCPtr, this));
}
public long GetAddressByteSize() {
return lldbJNI.SBModule_GetAddressByteSize(swigCPtr, this);
}
public String GetTriple() {
return lldbJNI.SBModule_GetTriple(swigCPtr, this);
}
public long GetVersion(SWIGTYPE_p_unsigned_int versions, long num_versions) {
return lldbJNI.SBModule_GetVersion(swigCPtr, this, SWIGTYPE_p_unsigned_int.getCPtr(versions), num_versions);
}
public SBFileSpec GetSymbolFileSpec() {
return new SBFileSpec(lldbJNI.SBModule_GetSymbolFileSpec(swigCPtr, this), true);
}
public SBAddress GetObjectFileHeaderAddress() {
return new SBAddress(lldbJNI.SBModule_GetObjectFileHeaderAddress(swigCPtr, this), true);
}
public SBAddress GetObjectFileEntryPointAddress() {
return new SBAddress(lldbJNI.SBModule_GetObjectFileEntryPointAddress(swigCPtr, this), true);
}
public static long GetNumberAllocatedModules() {
return lldbJNI.SBModule_GetNumberAllocatedModules();
}
public static void GarbageCollectAllocatedModules() {
lldbJNI.SBModule_GarbageCollectAllocatedModules();
}
public String __str__() {
return lldbJNI.SBModule___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,121 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBModuleSpec {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBModuleSpec(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBModuleSpec obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBModuleSpec(swigCPtr);
}
swigCPtr = 0;
}
}
public SBModuleSpec() {
this(lldbJNI.new_SBModuleSpec__SWIG_0(), true);
}
public SBModuleSpec(SBModuleSpec rhs) {
this(lldbJNI.new_SBModuleSpec__SWIG_1(SBModuleSpec.getCPtr(rhs), rhs), true);
}
public boolean IsValid() {
return lldbJNI.SBModuleSpec_IsValid(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBModuleSpec_Clear(swigCPtr, this);
}
public SBFileSpec GetFileSpec() {
return new SBFileSpec(lldbJNI.SBModuleSpec_GetFileSpec(swigCPtr, this), true);
}
public void SetFileSpec(SBFileSpec fspec) {
lldbJNI.SBModuleSpec_SetFileSpec(swigCPtr, this, SBFileSpec.getCPtr(fspec), fspec);
}
public SBFileSpec GetPlatformFileSpec() {
return new SBFileSpec(lldbJNI.SBModuleSpec_GetPlatformFileSpec(swigCPtr, this), true);
}
public void SetPlatformFileSpec(SBFileSpec fspec) {
lldbJNI.SBModuleSpec_SetPlatformFileSpec(swigCPtr, this, SBFileSpec.getCPtr(fspec), fspec);
}
public SBFileSpec GetSymbolFileSpec() {
return new SBFileSpec(lldbJNI.SBModuleSpec_GetSymbolFileSpec(swigCPtr, this), true);
}
public void SetSymbolFileSpec(SBFileSpec fspec) {
lldbJNI.SBModuleSpec_SetSymbolFileSpec(swigCPtr, this, SBFileSpec.getCPtr(fspec), fspec);
}
public String GetObjectName() {
return lldbJNI.SBModuleSpec_GetObjectName(swigCPtr, this);
}
public void SetObjectName(String name) {
lldbJNI.SBModuleSpec_SetObjectName(swigCPtr, this, name);
}
public String GetTriple() {
return lldbJNI.SBModuleSpec_GetTriple(swigCPtr, this);
}
public void SetTriple(String triple) {
lldbJNI.SBModuleSpec_SetTriple(swigCPtr, this, triple);
}
public SWIGTYPE_p_unsigned_char GetUUIDBytes() {
long cPtr = lldbJNI.SBModuleSpec_GetUUIDBytes(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);
}
public long GetUUIDLength() {
return lldbJNI.SBModuleSpec_GetUUIDLength(swigCPtr, this);
}
public boolean SetUUIDBytes(SWIGTYPE_p_unsigned_char uuid, long uuid_len) {
return lldbJNI.SBModuleSpec_SetUUIDBytes(swigCPtr, this, SWIGTYPE_p_unsigned_char.getCPtr(uuid), uuid_len);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBModuleSpec_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBModuleSpec___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,88 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBModuleSpecList {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBModuleSpecList(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBModuleSpecList obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBModuleSpecList(swigCPtr);
}
swigCPtr = 0;
}
}
public SBModuleSpecList() {
this(lldbJNI.new_SBModuleSpecList__SWIG_0(), true);
}
public SBModuleSpecList(SBModuleSpecList rhs) {
this(lldbJNI.new_SBModuleSpecList__SWIG_1(SBModuleSpecList.getCPtr(rhs), rhs), true);
}
public static SBModuleSpecList GetModuleSpecifications(String path) {
return new SBModuleSpecList(lldbJNI.SBModuleSpecList_GetModuleSpecifications(path), true);
}
public void Append(SBModuleSpec spec) {
lldbJNI.SBModuleSpecList_Append__SWIG_0(swigCPtr, this, SBModuleSpec.getCPtr(spec), spec);
}
public void Append(SBModuleSpecList spec_list) {
lldbJNI.SBModuleSpecList_Append__SWIG_1(swigCPtr, this, SBModuleSpecList.getCPtr(spec_list), spec_list);
}
public SBModuleSpec FindFirstMatchingSpec(SBModuleSpec match_spec) {
return new SBModuleSpec(lldbJNI.SBModuleSpecList_FindFirstMatchingSpec(swigCPtr, this, SBModuleSpec.getCPtr(match_spec), match_spec), true);
}
public SBModuleSpecList FindMatchingSpecs(SBModuleSpec match_spec) {
return new SBModuleSpecList(lldbJNI.SBModuleSpecList_FindMatchingSpecs(swigCPtr, this, SBModuleSpec.getCPtr(match_spec), match_spec), true);
}
public long GetSize() {
return lldbJNI.SBModuleSpecList_GetSize(swigCPtr, this);
}
public SBModuleSpec GetSpecAtIndex(long i) {
return new SBModuleSpec(lldbJNI.SBModuleSpecList_GetSpecAtIndex(swigCPtr, this, i), true);
}
public boolean GetDescription(SBStream description) {
return lldbJNI.SBModuleSpecList_GetDescription(swigCPtr, this, SBStream.getCPtr(description), description);
}
public String __str__() {
return lldbJNI.SBModuleSpecList___str__(swigCPtr, this);
}
}

View File

@ -0,0 +1,164 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBPlatform {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBPlatform(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBPlatform obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBPlatform(swigCPtr);
}
swigCPtr = 0;
}
}
public SBPlatform() {
this(lldbJNI.new_SBPlatform__SWIG_0(), true);
}
public SBPlatform(String arg0) {
this(lldbJNI.new_SBPlatform__SWIG_1(arg0), true);
}
public static SBPlatform GetHostPlatform() {
return new SBPlatform(lldbJNI.SBPlatform_GetHostPlatform(), true);
}
public boolean IsValid() {
return lldbJNI.SBPlatform_IsValid(swigCPtr, this);
}
public void Clear() {
lldbJNI.SBPlatform_Clear(swigCPtr, this);
}
public String GetWorkingDirectory() {
return lldbJNI.SBPlatform_GetWorkingDirectory(swigCPtr, this);
}
public boolean SetWorkingDirectory(String arg0) {
return lldbJNI.SBPlatform_SetWorkingDirectory(swigCPtr, this, arg0);
}
public String GetName() {
return lldbJNI.SBPlatform_GetName(swigCPtr, this);
}
public SBError ConnectRemote(SBPlatformConnectOptions connect_options) {
return new SBError(lldbJNI.SBPlatform_ConnectRemote(swigCPtr, this, SBPlatformConnectOptions.getCPtr(connect_options), connect_options), true);
}
public void DisconnectRemote() {
lldbJNI.SBPlatform_DisconnectRemote(swigCPtr, this);
}
public boolean IsConnected() {
return lldbJNI.SBPlatform_IsConnected(swigCPtr, this);
}
public String GetTriple() {
return lldbJNI.SBPlatform_GetTriple(swigCPtr, this);
}
public String GetHostname() {
return lldbJNI.SBPlatform_GetHostname(swigCPtr, this);
}
public String GetOSBuild() {
return lldbJNI.SBPlatform_GetOSBuild(swigCPtr, this);
}
public String GetOSDescription() {
return lldbJNI.SBPlatform_GetOSDescription(swigCPtr, this);
}
public long GetOSMajorVersion() {
return lldbJNI.SBPlatform_GetOSMajorVersion(swigCPtr, this);
}
public long GetOSMinorVersion() {
return lldbJNI.SBPlatform_GetOSMinorVersion(swigCPtr, this);
}
public long GetOSUpdateVersion() {
return lldbJNI.SBPlatform_GetOSUpdateVersion(swigCPtr, this);
}
public SBError Get(SBFileSpec src, SBFileSpec dst) {
return new SBError(lldbJNI.SBPlatform_Get(swigCPtr, this, SBFileSpec.getCPtr(src), src, SBFileSpec.getCPtr(dst), dst), true);
}
public SBError Put(SBFileSpec src, SBFileSpec dst) {
return new SBError(lldbJNI.SBPlatform_Put(swigCPtr, this, SBFileSpec.getCPtr(src), src, SBFileSpec.getCPtr(dst), dst), true);
}
public SBError Install(SBFileSpec src, SBFileSpec dst) {
return new SBError(lldbJNI.SBPlatform_Install(swigCPtr, this, SBFileSpec.getCPtr(src), src, SBFileSpec.getCPtr(dst), dst), true);
}
public SBError Run(SBPlatformShellCommand shell_command) {
return new SBError(lldbJNI.SBPlatform_Run(swigCPtr, this, SBPlatformShellCommand.getCPtr(shell_command), shell_command), true);
}
public SBError Launch(SBLaunchInfo launch_info) {
return new SBError(lldbJNI.SBPlatform_Launch(swigCPtr, this, SBLaunchInfo.getCPtr(launch_info), launch_info), true);
}
public SBError Kill(java.math.BigInteger pid) {
return new SBError(lldbJNI.SBPlatform_Kill(swigCPtr, this, pid), true);
}
public SBError MakeDirectory(String path, long file_permissions) {
return new SBError(lldbJNI.SBPlatform_MakeDirectory__SWIG_0(swigCPtr, this, path, file_permissions), true);
}
public SBError MakeDirectory(String path) {
return new SBError(lldbJNI.SBPlatform_MakeDirectory__SWIG_1(swigCPtr, this, path), true);
}
public long GetFilePermissions(String path) {
return lldbJNI.SBPlatform_GetFilePermissions(swigCPtr, this, path);
}
public SBError SetFilePermissions(String path, long file_permissions) {
return new SBError(lldbJNI.SBPlatform_SetFilePermissions(swigCPtr, this, path, file_permissions), true);
}
public SBUnixSignals GetUnixSignals() {
return new SBUnixSignals(lldbJNI.SBPlatform_GetUnixSignals(swigCPtr, this), true);
}
public SBEnvironment GetEnvironment() {
return new SBEnvironment(lldbJNI.SBPlatform_GetEnvironment(swigCPtr, this), true);
}
}

View File

@ -0,0 +1,80 @@
/* ###
* IP: Apache License 2.0 with LLVM Exceptions
*/
package SWIG;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class SBPlatformConnectOptions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SBPlatformConnectOptions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SBPlatformConnectOptions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
lldbJNI.delete_SBPlatformConnectOptions(swigCPtr);
}
swigCPtr = 0;
}
}
public SBPlatformConnectOptions(String url) {
this(lldbJNI.new_SBPlatformConnectOptions__SWIG_0(url), true);
}
public SBPlatformConnectOptions(SBPlatformConnectOptions rhs) {
this(lldbJNI.new_SBPlatformConnectOptions__SWIG_1(SBPlatformConnectOptions.getCPtr(rhs), rhs), true);
}
public String GetURL() {
return lldbJNI.SBPlatformConnectOptions_GetURL(swigCPtr, this);
}
public void SetURL(String url) {
lldbJNI.SBPlatformConnectOptions_SetURL(swigCPtr, this, url);
}
public boolean GetRsyncEnabled() {
return lldbJNI.SBPlatformConnectOptions_GetRsyncEnabled(swigCPtr, this);
}
public void EnableRsync(String options, String remote_path_prefix, boolean omit_remote_hostname) {
lldbJNI.SBPlatformConnectOptions_EnableRsync(swigCPtr, this, options, remote_path_prefix, omit_remote_hostname);
}
public void DisableRsync() {
lldbJNI.SBPlatformConnectOptions_DisableRsync(swigCPtr, this);
}
public String GetLocalCacheDirectory() {
return lldbJNI.SBPlatformConnectOptions_GetLocalCacheDirectory(swigCPtr, this);
}
public void SetLocalCacheDirectory(String path) {
lldbJNI.SBPlatformConnectOptions_SetLocalCacheDirectory(swigCPtr, this, path);
}
}

Some files were not shown because too many files have changed in this diff Show More