aboutsummaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2022-09-29 16:01:49 -0700
committerDave Lee <davelee.com@gmail.com>2022-10-01 09:58:40 -0700
commit557a19ab0fce115b66094ce68752e524af599ed9 (patch)
tree5a0480bfff78dfbe69d5f3b1dd154f5b8bb63e6b /lldb
parent72a86a9dc4c53010f3b493685d0798bf02bf6ebc (diff)
downloadllvm-557a19ab0fce115b66094ce68752e524af599ed9.zip
llvm-557a19ab0fce115b66094ce68752e524af599ed9.tar.gz
llvm-557a19ab0fce115b66094ce68752e524af599ed9.tar.bz2
[lldb] Remove scoped timer from high firing and fast running ExtractUnitDIENoDwoIfNeeded
Profiles show that `DWARFUnit::ExtractUnitDIENoDwoIfNeeded` is both high firing (tens of thousands of calls) and fast running (15 µs mean). Timers like this are noise and load for profiling systems, and can be removed. rdar://100326595 Differential Revision: https://reviews.llvm.org/D134920
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
index 46204ba..21ef765 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
@@ -51,8 +51,6 @@ void DWARFUnit::ExtractUnitDIENoDwoIfNeeded() {
return; // Already parsed
ElapsedTime elapsed(m_dwarf.GetDebugInfoParseTimeRef());
- LLDB_SCOPED_TIMERF("%8.8x: DWARFUnit::ExtractUnitDIENoDwoIfNeeded()",
- GetOffset());
// Set the offset to that of the first DIE and calculate the start of the
// next compilation unit header.