From: David Blaikie Date: Tue, 1 Dec 2015 00:48:34 +0000 (+0000) Subject: llvm-dwp: Initial layout X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=629180472c0c66f4c44ef9bf06949e79331cd031;p=oota-llvm.git llvm-dwp: Initial layout git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254354 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/LLVMBuild.txt b/tools/LLVMBuild.txt index d6c08d25d94..d4b01477185 100644 --- a/tools/LLVMBuild.txt +++ b/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/tools/Makefile b/tools/Makefile index a2ec8b065eb..92d49545187 100644 --- a/tools/Makefile +++ b/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/tools/llvm-dwp/CMakeLists.txt b/tools/llvm-dwp/CMakeLists.txt new file mode 100644 index 00000000000..b29c00d49c3 --- /dev/null +++ b/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/tools/llvm-dwp/LLVMBuild.txt b/tools/llvm-dwp/LLVMBuild.txt new file mode 100644 index 00000000000..345a7375725 --- /dev/null +++ b/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/tools/llvm-dwp/llvm-dwp.cpp b/tools/llvm-dwp/llvm-dwp.cpp new file mode 100644 index 00000000000..b2f997621be --- /dev/null +++ b/tools/llvm-dwp/llvm-dwp.cpp @@ -0,0 +1,2 @@ +int main() { +}