This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Use multithreading for building .gdb_index.
ClosedPublic

Authored by grimar on Jul 31 2017, 7:30 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Jul 31 2017, 7:30 AM
grimar retitled this revision from [ELF] - Use multithreading for building index. to [ELF] - Use multithreading for building .gdb_index..Jul 31 2017, 7:31 AM
ruiu added inline comments.Aug 1 2017, 5:52 AM
ELF/SyntheticSections.cpp
1816 ↗(On Diff #108924)

InfoSections -> Sections.

1819 ↗(On Diff #108924)

No need to change the original code.

ObjFile<ELFT> *F = Sections[I]->getFile<ELFT>();
DWARFContext Dwarf(make_unique<LLDDwarfObj<ELFT>>(F));
Chunks[I] = readDwarf(Dwarf, Sections[I]);
grimar updated this revision to Diff 109106.Aug 1 2017, 7:14 AM
  • Addressed comments.
ruiu accepted this revision.Aug 1 2017, 7:21 AM

LGTM

This revision is now accepted and ready to land.Aug 1 2017, 7:21 AM
This revision was automatically updated to reflect the committed changes.