summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-extract/Makefile (renamed from llvm/tools/extract/Makefile)8
-rw-r--r--llvm/tools/llvm-extract/llvm-extract.cpp (renamed from llvm/tools/extract/extract.cpp)8
2 files changed, 8 insertions, 8 deletions
diff --git a/llvm/tools/extract/Makefile b/llvm/tools/llvm-extract/Makefile
index b578e94f002..80a90fa41a8 100644
--- a/llvm/tools/extract/Makefile
+++ b/llvm/tools/llvm-extract/Makefile
@@ -1,4 +1,4 @@
-##===- tools/extract/Makefile ------------------------------*- Makefile -*-===##
+##===- tools/llvm-extract/Makefile -------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
@@ -8,9 +8,9 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
-TOOLNAME = extract
+TOOLNAME = llvm-extract
USEDLIBS = LLVMBCReader LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMTarget.a \
- LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \
- LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
+ LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \
+ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/extract/extract.cpp b/llvm/tools/llvm-extract/llvm-extract.cpp
index 78d0426be18..e1088d2b2d5 100644
--- a/llvm/tools/extract/extract.cpp
+++ b/llvm/tools/llvm-extract/llvm-extract.cpp
@@ -1,4 +1,4 @@
-//===- extract.cpp - LLVM function extraction utility ---------------------===//
+//===- llvm-extract.cpp - LLVM function extraction utility ----------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -69,9 +69,9 @@ int main(int argc, char **argv) {
Passes.add(new TargetData("extract", M.get())); // Use correct TargetData
// Either isolate the function or delete it from the Module
Passes.add(createFunctionExtractionPass(F, DeleteFn));
- Passes.add(createGlobalDCEPass()); // Delete unreachable globals
- Passes.add(createFunctionResolvingPass()); // Delete prototypes
- Passes.add(createDeadTypeEliminationPass()); // Remove dead types...
+ Passes.add(createGlobalDCEPass()); // Delete unreachable globals
+ Passes.add(createFunctionResolvingPass()); // Delete prototypes
+ Passes.add(createDeadTypeEliminationPass()); // Remove dead types...
std::ostream *Out = 0;
OpenPOWER on IntegriCloud