[COFF] Move ghash timers under the "add objects" timer

I had envisioned the ghash step as a big up front step, but as currently
written, the timers are nested, and we are notionally adding types from
objects, so we might as well arrange the timers this way.
This commit is contained in:
Reid Kleckner 2020-10-31 11:08:58 -07:00
parent 70c6b86087
commit 32cc962ef3
1 changed files with 2 additions and 2 deletions

View File

@ -66,9 +66,9 @@ using llvm::object::coff_section;
static ExitOnError exitOnErr;
static Timer totalPdbLinkTimer("PDB Emission (Cumulative)", Timer::root());
Timer lld::coff::loadGHashTimer("Global Type Hashing", totalPdbLinkTimer);
Timer lld::coff::mergeGHashTimer("GHash Type Merging", totalPdbLinkTimer);
static Timer addObjectsTimer("Add Objects", totalPdbLinkTimer);
Timer lld::coff::loadGHashTimer("Global Type Hashing", addObjectsTimer);
Timer lld::coff::mergeGHashTimer("GHash Type Merging", addObjectsTimer);
static Timer typeMergingTimer("Type Merging", addObjectsTimer);
static Timer symbolMergingTimer("Symbol Merging", addObjectsTimer);
static Timer publicsLayoutTimer("Publics Stream Layout", totalPdbLinkTimer);