[Lldb-commits] [PATCH] D12792: Clean up build of JITLoader/GDB in autoconf build.
Bruce Mitchener via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 10 20:55:39 PDT 2015
brucem created this revision.
brucem added reviewers: labath, clayborg, emaste.
brucem added a subscriber: lldb-commits.
This builds on all platforms, so remove duplication in build
configuration.
http://reviews.llvm.org/D12792
Files:
lib/Makefile
source/Plugins/JITLoader/GDB/Makefile
source/Plugins/Makefile
Index: source/Plugins/Makefile
===================================================================
--- source/Plugins/Makefile
+++ source/Plugins/Makefile
@@ -31,6 +31,7 @@
DynamicLoader/Hexagon-DYLD \
DynamicLoader/MacOSX-DYLD \
DynamicLoader/Windows-DYLD \
+ JITLoader/GDB \
ExpressionParser/Clang \
OperatingSystem/Python \
SystemRuntime/MacOSX \
@@ -45,21 +46,14 @@
PARALLEL_DIRS += SymbolVendor/MacOSX
#PARALLEL_DIRS += Process/MacOSX-User
PARALLEL_DIRS += Process/mach-core
-PARALLEL_DIRS += JITLoader/GDB
endif
ifeq ($(HOST_OS),Linux)
PARALLEL_DIRS += Process/Linux Process/POSIX
-PARALLEL_DIRS += JITLoader/GDB
-endif
-
-ifeq ($(HOST_OS),MingW)
-PARALLEL_DIRS += JITLoader/GDB
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
PARALLEL_DIRS += Process/FreeBSD Process/POSIX
-PARALLEL_DIRS += JITLoader/GDB
endif
include $(LLDB_LEVEL)/Makefile
Index: source/Plugins/JITLoader/GDB/Makefile
===================================================================
--- source/Plugins/JITLoader/GDB/Makefile
+++ source/Plugins/JITLoader/GDB/Makefile
@@ -1,4 +1,4 @@
-##===- source/Plugins/JITLoader/GDBJIT/Makefile ------------*- Makefile -*-===##
+##===- source/Plugins/JITLoader/GDB/Makefile ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
Index: lib/Makefile
===================================================================
--- lib/Makefile
+++ lib/Makefile
@@ -103,6 +103,7 @@
lldbPluginPlatformPOSIX.a \
lldbPluginPlatformKalimba.a \
lldbPluginPlatformAndroid.a \
+ lldbPluginJITLoaderGDB.a \
lldbPluginScriptInterpreterNone.a \
lldbPluginScriptInterpreterPython.a
@@ -125,24 +126,17 @@
lldbPluginObjectFileMachO.a \
lldbPluginSymbolVendorMacOSX.a \
lldbPluginProcessDarwin.a \
- lldbPluginProcessMachCore.a \
- lldbPluginJITLoaderGDB.a
+ lldbPluginProcessMachCore.a
endif
ifeq ($(HOST_OS),Linux)
USEDLIBS += lldbPluginProcessLinux.a \
- lldbPluginProcessPOSIX.a \
- lldbPluginJITLoaderGDB.a
-endif
-
-ifeq ($(HOST_OS),MingW)
- USEDLIBS += lldbPluginJITLoaderGDB.a
+ lldbPluginProcessPOSIX.a
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
USEDLIBS += lldbPluginProcessPOSIX.a \
- lldbPluginProcessFreeBSD.a \
- lldbPluginJITLoaderGDB.a
+ lldbPluginProcessFreeBSD.a
endif
include $(LEVEL)/Makefile.common
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12792.34528.patch
Type: text/x-patch
Size: 2502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150911/aaed3e8f/attachment.bin>
More information about the lldb-commits
mailing list