[lld][ELF] Add additional time trace categories
authorJames Henderson <james.henderson@sony.com>
Tue, 3 Nov 2020 14:41:09 +0000 (14:41 +0000)
committerJames Henderson <james.henderson@sony.com>
Tue, 10 Nov 2020 10:28:46 +0000 (10:28 +0000)
commit439341b9bf0d9c91d1fc7a896cb85dbbb958f924
tree807e8e514bfa9395202f6adab5dbfd121f521060
parentfd407e1f1eed7deb4818509a8393ee930480d7f5
[lld][ELF] Add additional time trace categories

I noticed when running a large link with the --time-trace option that
there were several areas which were missing any specific time trace
categories (aside from the generic link/ExecuteLinker categories). This
patch adds new categories to fill most of the "gaps", or to provide more
detail than was previously provided.

Reviewed by: MaskRay, grimar, russell.gallop

Differential Revision: https://reviews.llvm.org/D90686
lld/ELF/Driver.cpp
lld/ELF/DriverUtils.cpp
lld/ELF/InputFiles.cpp
lld/ELF/LinkerScript.cpp
lld/ELF/MapFile.cpp
lld/ELF/OutputSections.cpp
lld/ELF/ScriptParser.cpp
lld/ELF/Writer.cpp