summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-02-21 20:58:22 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-02-21 20:58:22 +0000
commit23720cc66c3b639b2c4c1399e9f994dc14c5814b (patch)
tree904469f24f59c6d7f5a191cec2e5cf1dd3a0d24e /lldb/source/Plugins/SymbolFile
parentf4be227dc66c412dc54342848b666ef0c376bd8d (diff)
downloadbcm5719-llvm-23720cc66c3b639b2c4c1399e9f994dc14c5814b.tar.gz
bcm5719-llvm-23720cc66c3b639b2c4c1399e9f994dc14c5814b.zip
Adding CMake build system to LLDB. Some known issues remain:
- generate-vers.pl has to be called by cmake to generate the version number - parallel builds not yet supported; dependency on clang must be explicitly specified Tested on Linux. - Building on Mac will require code-signing logic to be implemented. - Building on Windows will require OS-detection logic and some selective directory inclusion Thanks to Carlo Kok (who originally prepared these CMakefiles for Windows) and Ben Langmuir who ported them to Linux! llvm-svn: 175795
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
-rw-r--r--lldb/source/Plugins/SymbolFile/CMakeLists.txt2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt28
-rw-r--r--lldb/source/Plugins/SymbolFile/Symtab/CMakeLists.txt5
3 files changed, 35 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/CMakeLists.txt
new file mode 100644
index 00000000000..85e7129de43
--- /dev/null
+++ b/lldb/source/Plugins/SymbolFile/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory(DWARF)
+add_subdirectory(Symtab)
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
new file mode 100644
index 00000000000..987111c98ca
--- /dev/null
+++ b/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
@@ -0,0 +1,28 @@
+set(LLVM_NO_RTTI 1)
+
+add_lldb_library(lldbPluginSymbolFileDWARF
+ DWARFAbbreviationDeclaration.cpp
+ DWARFCompileUnit.cpp
+ DWARFDebugAbbrev.cpp
+ DWARFDebugAranges.cpp
+ DWARFDebugArangeSet.cpp
+ DWARFDebugInfo.cpp
+ DWARFDebugInfoEntry.cpp
+ DWARFDebugLine.cpp
+ DWARFDebugMacinfo.cpp
+ DWARFDebugMacinfoEntry.cpp
+ DWARFDebugPubnames.cpp
+ DWARFDebugPubnamesSet.cpp
+ DWARFDebugRanges.cpp
+ DWARFDeclContext.cpp
+ DWARFDefines.cpp
+ DWARFDIECollection.cpp
+ DWARFFormValue.cpp
+ DWARFLocationDescription.cpp
+ DWARFLocationList.cpp
+ LogChannelDWARF.cpp
+ NameToDIE.cpp
+ SymbolFileDWARF.cpp
+ SymbolFileDWARFDebugMap.cpp
+ UniqueDWARFASTType.cpp
+ )
diff --git a/lldb/source/Plugins/SymbolFile/Symtab/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/Symtab/CMakeLists.txt
new file mode 100644
index 00000000000..00252ffeeb4
--- /dev/null
+++ b/lldb/source/Plugins/SymbolFile/Symtab/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(LLVM_NO_RTTI 1)
+
+add_lldb_library(lldbPluginSymbolFileSymtab
+ SymbolFileSymtab.cpp
+ )
OpenPOWER on IntegriCloud