summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/LLVMBuild.txt1
-rw-r--r--llvm/tools/Makefile2
-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
5 files changed, 40 insertions, 1 deletions
diff --git a/llvm/tools/LLVMBuild.txt b/llvm/tools/LLVMBuild.txt
index d6c08d25d94..d4b01477185 100644
--- a/llvm/tools/LLVMBuild.txt
+++ b/llvm/tools/LLVMBuild.txt
@@ -28,6 +28,7 @@ subdirectories =
llvm-diff
llvm-dis
llvm-dwarfdump
+ llvm-dwp
llvm-extract
llvm-jitlistener
llvm-link
diff --git a/llvm/tools/Makefile b/llvm/tools/Makefile
index a2ec8b065eb..92d49545187 100644
--- a/llvm/tools/Makefile
+++ b/llvm/tools/Makefile
@@ -33,7 +33,7 @@ PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \
llvm-dwarfdump llvm-cov llvm-size llvm-stress llvm-mcmarkup \
llvm-profdata llvm-symbolizer obj2yaml yaml2obj llvm-c-test \
llvm-cxxdump verify-uselistorder dsymutil llvm-pdbdump \
- llvm-split sancov
+ llvm-split sancov llvm-dwp
# If Intel JIT Events support is configured, build an extra tool to test it.
ifeq ($(USE_INTEL_JITEVENTS), 1)
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