[ThinLTO] Augment FunctionImport dump with value name to GUID map
authorTeresa Johnson <tejohnson@google.com>
Mon, 4 Apr 2016 18:52:23 +0000 (18:52 +0000)
committerTeresa Johnson <tejohnson@google.com>
Mon, 4 Apr 2016 18:52:23 +0000 (18:52 +0000)
commit0beb858e979602ce33c7298da9d2ae02aa2d69ad
tree677e2ef298bac65fc8d2fd1d0644c8a600f09378
parentc293a2688de091bb269f160ebab67b446762bc1b
[ThinLTO] Augment FunctionImport dump with value name to GUID map

Summary:
To aid in debugging, dump out the correlation between value names and
GUID for each source module when it is materialized. This will make it
easier to comprehend the earlier summary-based function importing debug
trace which only has access to and prints the GUIDs.

Reviewers: joker.eph

Subscribers: llvm-commits, joker.eph

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

llvm-svn: 265326
llvm/lib/Transforms/IPO/FunctionImport.cpp