summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dwp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-dwp')
-rw-r--r--llvm/tools/llvm-dwp/CMakeLists.txt13
-rw-r--r--llvm/tools/llvm-dwp/LLVMBuild.txt23
-rw-r--r--llvm/tools/llvm-dwp/llvm-dwp.cpp2
3 files changed, 38 insertions, 0 deletions
diff --git a/llvm/tools/llvm-dwp/CMakeLists.txt b/llvm/tools/llvm-dwp/CMakeLists.txt
new file mode 100644
index 00000000000..b29c00d49c3
--- /dev/null
+++ b/llvm/tools/llvm-dwp/CMakeLists.txt
@@ -0,0 +1,13 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ AsmPrinter
+ DebugInfoDWARF
+ MC
+ Object
+ Support
+ Target
+ )
+
+add_llvm_tool(llvm-dwp
+ llvm-dwp.cpp
+ )
diff --git a/llvm/tools/llvm-dwp/LLVMBuild.txt b/llvm/tools/llvm-dwp/LLVMBuild.txt
new file mode 100644
index 00000000000..345a7375725
--- /dev/null
+++ b/llvm/tools/llvm-dwp/LLVMBuild.txt
@@ -0,0 +1,23 @@
+;===- ./tools/llvm-dwp/LLVMBuild.txt ---------------------------*- Conf -*--===;
+;
+; The LLVM Compiler Infrastructure
+;
+; This file is distributed under the University of Illinois Open Source
+; License. See LICENSE.TXT for details.
+;
+;===------------------------------------------------------------------------===;
+;
+; This is an LLVMBuild description file for the components in this subdirectory.
+;
+; For more information on the LLVMBuild system, please see:
+;
+; http://llvm.org/docs/LLVMBuild.html
+;
+;===------------------------------------------------------------------------===;
+
+[component_0]
+type = Tool
+name = llvm-dwp
+parent = Tools
+required_libraries = AsmPrinter DebugInfoDWARF MC Object Support all-targets
+
diff --git a/llvm/tools/llvm-dwp/llvm-dwp.cpp b/llvm/tools/llvm-dwp/llvm-dwp.cpp
new file mode 100644
index 00000000000..b2f997621be
--- /dev/null
+++ b/llvm/tools/llvm-dwp/llvm-dwp.cpp
@@ -0,0 +1,2 @@
+int main() {
+}
OpenPOWER on IntegriCloud