[llvm-commits] CVS: llvm/tools/llvm-extract/Makefile llvm-extract.cpp

Misha Brukman brukman at cs.uiuc.edu
Sun Apr 24 10:35:26 PDT 2005



Changes in directory llvm/tools/llvm-extract:

Makefile added (r1.1)
llvm-extract.cpp updated: 1.28 -> 1.29
---
Log message:

extract has been renamed to llvm-extract to avoid conflicting with another tool


---
Diffs of the changes:  (+20 -4)

 Makefile         |   16 ++++++++++++++++
 llvm-extract.cpp |    8 ++++----
 2 files changed, 20 insertions(+), 4 deletions(-)


Index: llvm/tools/llvm-extract/Makefile
diff -c /dev/null llvm/tools/llvm-extract/Makefile:1.1
*** /dev/null	Sun Apr 24 12:35:25 2005
--- llvm/tools/llvm-extract/Makefile	Sun Apr 24 12:35:15 2005
***************
*** 0 ****
--- 1,16 ----
+ ##===- tools/llvm-extract/Makefile -------------------------*- Makefile -*-===##
+ # 
+ #                     The LLVM Compiler Infrastructure
+ #
+ # This file was developed by the LLVM research group and is distributed under
+ # the University of Illinois Open Source License. See LICENSE.TXT for details.
+ # 
+ ##===----------------------------------------------------------------------===##
+ LEVEL = ../..
+ 
+ TOOLNAME = llvm-extract
+ USEDLIBS = LLVMBCReader LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMTarget.a \
+            LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \
+            LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
+ 
+ include $(LEVEL)/Makefile.common


Index: llvm/tools/llvm-extract/llvm-extract.cpp
diff -u llvm/tools/llvm-extract/llvm-extract.cpp:1.28 llvm/tools/llvm-extract/llvm-extract.cpp:1.29
--- llvm/tools/llvm-extract/llvm-extract.cpp:1.28	Thu Apr 21 18:59:24 2005
+++ llvm/tools/llvm-extract/llvm-extract.cpp	Sun Apr 24 12:35:15 2005
@@ -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 @@
     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;
 






More information about the llvm-commits mailing list