Skip to content

Commit

Permalink
[ELF] Add gdb index time trace
Browse files Browse the repository at this point in the history
Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D135659
  • Loading branch information
Trass3r authored and MaskRay committed Nov 6, 2022
1 parent b84fd82 commit a86cfce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lld/ELF/SyntheticSections.cpp
Expand Up @@ -2835,6 +2835,8 @@ createSymbols(

// Returns a newly-created .gdb_index section.
template <class ELFT> GdbIndexSection *GdbIndexSection::create() {
llvm::TimeTraceScope timeScope("Create gdb index");

// Collect InputFiles with .debug_info. See the comment in
// LLDDwarfObj<ELFT>::LLDDwarfObj. If we do lightweight parsing in the future,
// note that isec->data() may uncompress the full content, which should be
Expand Down

0 comments on commit a86cfce

Please sign in to comment.