This is an archive of the discontinued LLVM Phabricator instance.

Eliminate .debug_gnu_pub{names,types} if -gdb-index is given.
ClosedPublic

Authored by ruiu on Apr 28 2017, 2:43 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Apr 28 2017, 2:43 PM
dblaikie accepted this revision.Apr 28 2017, 3:12 PM
dblaikie added a reviewer: grimar.

Looks great - does exactly what I was wanting/expecting.

First run clang startup time drops from 4.4 seconds to 2.5 seconds (PR32718 discusses the issue with first run startup/binary size on (some?) linux systems), binary size drops from 837MiB to 466MiB.

Thanks a bunch!

This revision is now accepted and ready to land.Apr 28 2017, 3:13 PM
This revision was automatically updated to reflect the committed changes.