summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dwarfdump/CMakeLists.txt
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-13 19:42:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-13 19:42:23 +0000
commitaa2f78f5e6cf071a335f7a05ca48cf4df385a172 (patch)
treed452ecb21885103e72ca6a8df7d7b78abfadeb5a /llvm/tools/llvm-dwarfdump/CMakeLists.txt
parent88a1d9fc0043f23fe8722cf0949335f41b123f19 (diff)
downloadbcm5719-llvm-aa2f78f5e6cf071a335f7a05ca48cf4df385a172.tar.gz
bcm5719-llvm-aa2f78f5e6cf071a335f7a05ca48cf4df385a172.zip
Sketch out a DWARF parser.
This introduces a new library to LLVM: libDebugInfo. It will provide debug information parsing to LLVM. Much of the design and some of the code is taken from the LLDB project. It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an object file. It can be used to write tests for DWARF input and output easily. llvm-svn: 139627
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-dwarfdump/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/tools/llvm-dwarfdump/CMakeLists.txt b/llvm/tools/llvm-dwarfdump/CMakeLists.txt
new file mode 100644
index 00000000000..05aad3f0b05
--- /dev/null
+++ b/llvm/tools/llvm-dwarfdump/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(LLVM_LINK_COMPONENTS
+ DebugInfo
+ Object
+ )
+
+add_llvm_tool(llvm-dwarfdump
+ llvm-dwarfdump.cpp
+ )
OpenPOWER on IntegriCloud