This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Speedup --gdb-index read address area implementation.
AbandonedPublic

Authored by grimar on Mar 24 2017, 7:03 AM.

Details

Reviewers
ruiu
rafael
Summary

Previous implementation was ineffective.
For each range it did a search among all input sections of a file.

Patch sorts range vector returned by DWARF parser and allows
to do a single iteration through input sections.

That change speedups link time with --gdb-index for producing llc
binary from: 19.2 to 16.49 seconds. Its about 15%.

Diff Detail

Event Timeline

grimar created this revision.Mar 24 2017, 7:03 AM
grimar edited subscribers, added: evgeny777, dblaikie; removed: eastig.Mar 24 2017, 7:04 AM
aprantl added a subscriber: beanz.Mar 24 2017, 9:28 AM
grimar abandoned this revision.Mar 28 2017, 9:15 AM

D31424 solves this in a different way.