Move imported entities into DwarfCompilationUnit to speed up LTO linking.
authorIvan Krasin <krasin@chromium.org>
Mon, 26 Oct 2015 21:36:35 +0000 (21:36 +0000)
committerIvan Krasin <krasin@chromium.org>
Mon, 26 Oct 2015 21:36:35 +0000 (21:36 +0000)
commit830544779e59367aeb07256e348925586455731a
tree502f016e1a94dc62fb629ba6417164e845ac128a
parent22f4488b9f4e9de6e37850c0730b41fe46adef5c
Move imported entities into DwarfCompilationUnit to speed up LTO linking.

Summary:
In particular, this CL speeds up the official Chrome linking with LTO by
1.8x.

See more details in https://crbug.com/542426

Reviewers: dblaikie

Subscribers: jevinskie

Differential Revision: http://reviews.llvm.org/D13918

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251353 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h