[llvm-commits] CVS: llvm/include/llvm/Pass.h

Reid Spencer reid at x10sys.com
Tue Aug 24 10:52:45 PDT 2004



Changes in directory llvm/include/llvm:

Pass.h updated: 1.44 -> 1.45
---
Log message:

Give the -time-passes tool option a global storage location so that its 
value can be discovered by the various LLVM tools. 


---
Diffs of the changes:  (+5 -0)

Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.44 llvm/include/llvm/Pass.h:1.45
--- llvm/include/llvm/Pass.h:1.44	Tue Jun  8 12:44:21 2004
+++ llvm/include/llvm/Pass.h	Tue Aug 24 12:52:35 2004
@@ -332,6 +332,11 @@
   virtual void addToPassManager(PassManagerT<BasicBlock> *PM,AnalysisUsage &AU);
 };
 
+/// If the user specifies the -time-passes argument on an LLVM tool command line
+/// then the value of this boolean will be true, otherwise false.
+/// @brief This is the storage for the -time-passes option.
+extern bool TimePassesIsEnabled;
+
 } // End llvm namespace
 
 // Include support files that contain important APIs commonly used by Passes,






More information about the llvm-commits mailing list