commit | 780e01be09bed0fecd155b867ae4f7b253b20fe0 | [log] [tgz] |
---|---|---|
author | Daniel Cheng <[email protected]> | Tue Mar 05 01:47:27 2024 |
committer | Chromium LUCI CQ <[email protected]> | Tue Mar 05 01:47:27 2024 |
tree | 4c944487bde60a30be5059dec2e977a5f60fcc1f | |
parent | 917276f3d16f371346ce5fd3e98175bab145cffc [diff] [blame] |
Move DWARF parsers to a separate GN target and always optimize. This doubles the speed of looking up line numbers in debug builds, as measured by stringifying a `base::debug::StackTrace()` in an otherwise empty test in the unit_tests binary (symbolization time scales with symbol count). Bug: 1039359 Change-Id: I7bdf3964383a176ad7b13469acb7f81c12a6b9f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5336613 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/main@{#1268208}
diff --git a/base/debug/debugger_posix.cc b/base/debug/debugger_posix.cc index 8e499f5..8b82158 100644 --- a/base/debug/debugger_posix.cc +++ b/base/debug/debugger_posix.cc
@@ -52,7 +52,7 @@ #include "base/strings/string_piece.h" #if defined(USE_SYMBOLIZE) -#include "base/third_party/symbolize/symbolize.h" +#include "base/third_party/symbolize/symbolize.h" // nogncheck #endif namespace base {