[PATCH] D35386: Speed up gdb index creation
Rafael Ávila de Espíndola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 14:32:43 PDT 2017
rafael created this revision.
Herald added subscribers: aprantl, emaste.
This depends on https://reviews.llvm.org/D35373
With that in place we can use lld's own infrastructure for the low level detail of dwarf parsing.
With this we don't decompress sections twice, we don't scan all realocations and even with this simplistic implementation linking clang with gdb index goes from 34.09 seconds to 20.80 seconds.
https://reviews.llvm.org/D35386
Files:
ELF/GdbIndex.cpp
ELF/GdbIndex.h
ELF/InputFiles.cpp
ELF/InputFiles.h
ELF/SyntheticSections.cpp
test/ELF/invalid/invalid-debug-relocations.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35386.106535.patch
Type: text/x-patch
Size: 9616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170713/dac87dc0/attachment.bin>
More information about the llvm-commits
mailing list