diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-31 03:53:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-31 03:53:42 +0000 |
commit | c47690264abd6ec6bdeab86ce057e99bb5d39fe4 (patch) | |
tree | affd196df2342d11b791fdeb457fff5a8b52cd68 /lib/CodeGen | |
parent | a5dd5505883aa90d01d442e3a5db5aedc2277f9e (diff) | |
download | external_llvm-c47690264abd6ec6bdeab86ce057e99bb5d39fe4.zip external_llvm-c47690264abd6ec6bdeab86ce057e99bb5d39fe4.tar.gz external_llvm-c47690264abd6ec6bdeab86ce057e99bb5d39fe4.tar.bz2 |
Time the emission of debug values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 239c8e4..ecc4724 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -1595,7 +1595,10 @@ bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { } // Write out new DBG_VALUE instructions. - DebugVars->emitDebugValues(VRM); + { + NamedRegionTimer T("Emit Debug Info", TimerGroupName, TimePassesIsEnabled); + DebugVars->emitDebugValues(VRM); + } // The pass output is in VirtRegMap. Release all the transient data. releaseMemory(); |