[Lldb-commits] [PATCH 1/3] Added Makefiles for new plugins.

Greg Clayton gclayton at apple.com
Sun May 15 13:29:44 PDT 2011


The ArchDefaultUnwindPlan and ArchVolatileRegs no longer exist in the SVN repository. Did you GIT repo not pick up this fact?

So the the following directories no longer exist:

source/Plugins/ArchDefaultUnwindPlan
source/Plugins/ArchVolatileRegs

And of course their original .h files that defined the plug-in interface.


On May 15, 2011, at 1:52 AM, Marco Minutoli wrote:

> This patch add makefiles to build:
>     * ArchDefaultUnwindPlan
>     * ArchVolatileRegs
>     * UnwindAssembly
> ---
> lib/Makefile                                       |    6 +++++-
> source/Plugins/ArchDefaultUnwindPlan/x86/Makefile  |   15 +++++++++++++++
> source/Plugins/ArchVolatileRegs/x86/Makefile       |   15 +++++++++++++++
> source/Plugins/Makefile                            |    3 ++-
> .../Plugins/UnwindAssembly/InstEmulation/Makefile  |   15 +++++++++++++++
> source/Plugins/UnwindAssembly/x86/Makefile         |   15 +++++++++++++++
> 6 files changed, 67 insertions(+), 2 deletions(-)
> create mode 100644 source/Plugins/ArchDefaultUnwindPlan/x86/Makefile
> create mode 100644 source/Plugins/ArchVolatileRegs/x86/Makefile
> create mode 100644 source/Plugins/UnwindAssembly/InstEmulation/Makefile
> create mode 100644 source/Plugins/UnwindAssembly/x86/Makefile
> 
> diff --git a/lib/Makefile b/lib/Makefile
> index 29025a7..c5c276d 100644
> --- a/lib/Makefile
> +++ b/lib/Makefile
> @@ -17,7 +17,7 @@ NO_BUILD_ARCHIVE = 1
> LINK_LIBS_IN_SHARED = 1
> SHARED_LIBRARY = 1
> 
> -PYTHON_BUILD_FLAGS = -lpython2.6
> +PYTHON_BUILD_FLAGS = -lpython2.7
> 
> # Include all archives in liblldb.a files
> USEDLIBS = lldbAPI.a \
> @@ -28,6 +28,8 @@ USEDLIBS = lldbAPI.a \
> 	lldbHostCommon.a \
> 	lldbInitAndLog.a \
> 	lldbInterpreter.a \
> +	lldbPluginArchDefaultUnwindPlan_x86.a \
> +	lldbPluginArchVolatileRegs_x86.a \
> 	lldbPluginABIMacOSX_i386.a \
> 	lldbPluginABISysV_x86_64.a \
> 	lldbPluginDisassemblerLLVM.a \
> @@ -39,6 +41,8 @@ USEDLIBS = lldbAPI.a \
> 	lldbPluginProcessGDBRemote.a \
> 	lldbPluginSymbolFileDWARF.a \
> 	lldbPluginSymbolFileSymtab.a \
> +	lldbPluginUnwindAssembly.a \
> +	lldbPluginUnwindAssemblyInstEmulation.a \
> 	lldbPluginUtility.a \
> 	lldbSymbol.a \
> 	lldbTarget.a \
> diff --git a/source/Plugins/ArchDefaultUnwindPlan/x86/Makefile b/source/Plugins/ArchDefaultUnwindPlan/x86/Makefile
> new file mode 100644
> index 0000000..6b68703
> --- /dev/null
> +++ b/source/Plugins/ArchDefaultUnwindPlan/x86/Makefile
> @@ -0,0 +1,15 @@
> +##===- source/Plugins/ArchDefaultUnwindPlan/x86/Makefile ---*- Makefile -*-===##
> +# 
> +#                     The LLVM Compiler Infrastructure
> +#
> +# This file is distributed under the University of Illinois Open Source
> +# License. See LICENSE.TXT for details.
> +# 
> +##===----------------------------------------------------------------------===##
> +
> +
> +LLDB_LEVEL := ../../../..
> +LIBRARYNAME := lldbPluginArchDefaultUnwindPlan_x86
> +BUILD_ARCHIVE = 1
> +
> +include $(LLDB_LEVEL)/Makefile
> diff --git a/source/Plugins/ArchVolatileRegs/x86/Makefile b/source/Plugins/ArchVolatileRegs/x86/Makefile
> new file mode 100644
> index 0000000..2580127
> --- /dev/null
> +++ b/source/Plugins/ArchVolatileRegs/x86/Makefile
> @@ -0,0 +1,15 @@
> +##===- source/Plugins/ArchVolatileRegs/x86/Makefile --------*- Makefile -*-===##
> +# 
> +#                     The LLVM Compiler Infrastructure
> +#
> +# This file is distributed under the University of Illinois Open Source
> +# License. See LICENSE.TXT for details.
> +# 
> +##===----------------------------------------------------------------------===##
> +
> +
> +LLDB_LEVEL := ../../../..
> +LIBRARYNAME := lldbPluginArchVolatileRegs_x86
> +BUILD_ARCHIVE = 1
> +
> +include $(LLDB_LEVEL)/Makefile
> diff --git a/source/Plugins/Makefile b/source/Plugins/Makefile
> index 4261d7e..fa32536 100644
> --- a/source/Plugins/Makefile
> +++ b/source/Plugins/Makefile
> @@ -15,7 +15,8 @@ include $(LLDB_LEVEL)/../../Makefile.config
> DIRS := ABI/MacOSX-i386 ABI/SysV-x86_64 Disassembler/llvm  \
> 	ObjectContainer/BSD-Archive ObjectFile/ELF SymbolFile/DWARF \
> 	SymbolFile/Symtab Process/Utility DynamicLoader/Static \
> -	Platform Process/gdb-remote Instruction/ARM
> +	Platform Process/gdb-remote Instruction/ARM ArchDefaultUnwindPlan/x86 \
> +	ArchVolatileRegs/x86 UnwindAssembly/x86 UnwindAssembly/InstEmulation
> 
> ifeq ($(HOST_OS),Darwin)
> DIRS += DynamicLoader/MacOSX-DYLD ObjectContainer/Universal-Mach-O \
> diff --git a/source/Plugins/UnwindAssembly/InstEmulation/Makefile b/source/Plugins/UnwindAssembly/InstEmulation/Makefile
> new file mode 100644
> index 0000000..1ab4aaf
> --- /dev/null
> +++ b/source/Plugins/UnwindAssembly/InstEmulation/Makefile
> @@ -0,0 +1,15 @@
> +##==- source/Plugins/UnwindAssembly/InstEmulation/Makefile -*- Makefile -*-===##
> +# 
> +#                     The LLVM Compiler Infrastructure
> +#
> +# This file is distributed under the University of Illinois Open Source
> +# License. See LICENSE.TXT for details.
> +# 
> +##===----------------------------------------------------------------------===##
> +
> +
> +LLDB_LEVEL := ../../../..
> +LIBRARYNAME := lldbPluginUnwindAssemblyInstEmulation
> +BUILD_ARCHIVE = 1
> +
> +include $(LLDB_LEVEL)/Makefile
> diff --git a/source/Plugins/UnwindAssembly/x86/Makefile b/source/Plugins/UnwindAssembly/x86/Makefile
> new file mode 100644
> index 0000000..eb16484
> --- /dev/null
> +++ b/source/Plugins/UnwindAssembly/x86/Makefile
> @@ -0,0 +1,15 @@
> +##===- source/Plugins/UnwindAssembly/x86/Makefile ----------*- Makefile -*-===##
> +# 
> +#                     The LLVM Compiler Infrastructure
> +#
> +# This file is distributed under the University of Illinois Open Source
> +# License. See LICENSE.TXT for details.
> +# 
> +##===----------------------------------------------------------------------===##
> +
> +
> +LLDB_LEVEL := ../../../..
> +LIBRARYNAME := lldbPluginUnwindAssembly
> +BUILD_ARCHIVE = 1
> +
> +include $(LLDB_LEVEL)/Makefile
> -- 
> 1.7.3.4
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-commits mailing list