diff options
Diffstat (limited to 'contrib/llvm/tools/llvm-link')
-rw-r--r-- | contrib/llvm/tools/llvm-link/CMakeLists.txt | 5 | ||||
-rw-r--r-- | contrib/llvm/tools/llvm-link/Makefile | 17 | ||||
-rw-r--r-- | contrib/llvm/tools/llvm-link/llvm-link.cpp | 2 |
3 files changed, 1 insertions, 23 deletions
diff --git a/contrib/llvm/tools/llvm-link/CMakeLists.txt b/contrib/llvm/tools/llvm-link/CMakeLists.txt deleted file mode 100644 index 11933f7..0000000 --- a/contrib/llvm/tools/llvm-link/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -set(LLVM_LINK_COMPONENTS linker bitreader bitwriter asmparser) - -add_llvm_tool(llvm-link - llvm-link.cpp - ) diff --git a/contrib/llvm/tools/llvm-link/Makefile b/contrib/llvm/tools/llvm-link/Makefile deleted file mode 100644 index 2637018..0000000 --- a/contrib/llvm/tools/llvm-link/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -##===- tools/llvm-link/Makefile ----------------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../.. - -TOOLNAME = llvm-link -LINK_COMPONENTS = linker bitreader bitwriter asmparser - -# This tool has no plugins, optimize startup time. -TOOL_NO_EXPORTS = 1 - -include $(LEVEL)/Makefile.common diff --git a/contrib/llvm/tools/llvm-link/llvm-link.cpp b/contrib/llvm/tools/llvm-link/llvm-link.cpp index 95ad1ca..378a833 100644 --- a/contrib/llvm/tools/llvm-link/llvm-link.cpp +++ b/contrib/llvm/tools/llvm-link/llvm-link.cpp @@ -69,7 +69,7 @@ static inline std::auto_ptr<Module> LoadFile(const char *argv0, Result = ParseIRFile(FNStr, Err, Context); if (Result) return std::auto_ptr<Module>(Result); // Load successful! - Err.Print(argv0, errs()); + Err.print(argv0, errs()); return std::auto_ptr<Module>(); } |