diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-03-10 20:41:52 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-03-10 20:41:52 +0000 |
| commit | 91b8b8010a55ca2969f379e6a110420afbbac12e (patch) | |
| tree | 64a42cc1d45cb35ba946cf246583d49b606f241d /include/llvm/CodeGen | |
| parent | 111def86f75da0cdc8808a5be92359a264d53da6 (diff) | |
Add a timer to the DwarfWriter pass that measures the total time it takes to
emit exception and debug Dwarf info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/DwarfWriter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h index a5597322fc..97cf80bbff 100644 --- a/include/llvm/CodeGen/DwarfWriter.h +++ b/include/llvm/CodeGen/DwarfWriter.h @@ -33,6 +33,7 @@ class Value; class Module; class GlobalVariable; class TargetAsmInfo; +class Timer; class raw_ostream; //===----------------------------------------------------------------------===// @@ -49,12 +50,15 @@ private: /// DwarfException *DE; + /// DwarfTimer - Timer for the Dwarf writer. + /// + Timer *DwarfTimer; public: static char ID; // Pass identification, replacement for typeid DwarfWriter(); virtual ~DwarfWriter(); - + //===--------------------------------------------------------------------===// // Main entry points. // |
