mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 04:47:56 +00:00
fix the lldb patches
This commit is contained in:
parent
d4ccf80cc8
commit
b2b7c66f95
@ -11,12 +11,3 @@ Index: llvm-toolchain-3.9-3.9.1/lldb/source/Plugins/Process/gdb-remote/GDBRemote
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (HAVE_LIBCOMPRESSION)
|
#if defined (HAVE_LIBCOMPRESSION)
|
||||||
@@ -1175,7 +1175,7 @@ GDBRemoteCommunication::StartDebugserver
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+ log->Printf("foo %s, debugserver_file_spec.GetPath ().c_str ());
|
|
||||||
if (debugserver_exists)
|
|
||||||
{
|
|
||||||
debugserver_file_spec.GetPath (debugserver_path, sizeof(debugserver_path));
|
|
||||||
|
40
debian/patches/lldb-server-link.diff
vendored
40
debian/patches/lldb-server-link.diff
vendored
@ -1,5 +1,17 @@
|
|||||||
|
diff --git a/lldb/cmake/LLDBDependencies.cmake b/cmake/LLDBDependencies.cmake
|
||||||
|
index 67d110e0a..ee4f7a6e3 100644
|
||||||
|
--- a/lldb.orig/cmake/LLDBDependencies.cmake
|
||||||
|
+++ b/lldb/cmake/LLDBDependencies.cmake
|
||||||
|
@@ -201,6 +201,7 @@ set(LLVM_LINK_COMPONENTS
|
||||||
|
option
|
||||||
|
support
|
||||||
|
coverage
|
||||||
|
+ DebugInfoPDB
|
||||||
|
)
|
||||||
|
|
||||||
|
if ( NOT LLDB_DISABLE_PYTHON )
|
||||||
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/cmake/modules/AddLLDB.cmake
|
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/cmake/modules/AddLLDB.cmake
|
||||||
index 75c522f65..3d868068c 100644
|
index af1605076..aa11a90d0 100644
|
||||||
--- a/lldb.orig/cmake/modules/AddLLDB.cmake
|
--- a/lldb.orig/cmake/modules/AddLLDB.cmake
|
||||||
+++ b/lldb/cmake/modules/AddLLDB.cmake
|
+++ b/lldb/cmake/modules/AddLLDB.cmake
|
||||||
@@ -93,7 +93,7 @@ macro(add_lldb_library name)
|
@@ -93,7 +93,7 @@ macro(add_lldb_library name)
|
||||||
@ -11,18 +23,14 @@ index 75c522f65..3d868068c 100644
|
|||||||
set_target_properties(${name} PROPERTIES FOLDER "lldb executables")
|
set_target_properties(${name} PROPERTIES FOLDER "lldb executables")
|
||||||
endmacro(add_lldb_executable)
|
endmacro(add_lldb_executable)
|
||||||
|
|
||||||
diff --git a/lldb/tools/lldb-server/CMakeLists.txt b/tools/lldb-server/CMakeLists.txt
|
diff --git a/lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt b/source/Plugins/SymbolFile/PDB/CMakeLists.txt
|
||||||
index 28360914a..9d8a09b69 100644
|
index 79d8a25d6..b22c928c5 100644
|
||||||
--- a/lldb.orig/tools/lldb-server/CMakeLists.txt
|
--- a/lldb.orig/source/Plugins/SymbolFile/PDB/CMakeLists.txt
|
||||||
+++ b/lldb/tools/lldb-server/CMakeLists.txt
|
+++ b/lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt
|
||||||
@@ -43,7 +43,9 @@ else()
|
@@ -1,6 +1,3 @@
|
||||||
target_link_libraries(lldb-server ${LLDB_USED_LIBS})
|
-set(LLVM_PRIVATE_LINK_COMPONENTS
|
||||||
target_link_libraries(lldb-server ${CLANG_USED_LIBS})
|
- DebugInfoPDB)
|
||||||
endif()
|
-
|
||||||
-llvm_config(lldb-server ${LLVM_LINK_COMPONENTS})
|
add_lldb_library(lldbPluginSymbolFilePDB
|
||||||
+if (NOT LLVM_LINK_LLVM_DYLIB)
|
PDBASTParser.cpp
|
||||||
+ llvm_config(lldb-server ${LLVM_LINK_COMPONENTS})
|
SymbolFilePDB.cpp
|
||||||
+endif()
|
|
||||||
|
|
||||||
target_link_libraries(lldb-server ${LLDB_SYSTEM_LIBS})
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user