[ThinLTO] Fix dot dumper for regular LTO modules
authorEugene Leviant <eleviant@accesssoftek.com>
Wed, 24 Oct 2018 07:48:32 +0000 (07:48 +0000)
committerEugene Leviant <eleviant@accesssoftek.com>
Wed, 24 Oct 2018 07:48:32 +0000 (07:48 +0000)
commit1f54500af04bcdc2a4cd41b154778abf691ed300
treebc55f997c74e4930e6ad7b922a24c95d0fa4b830
parent865cb5604c70ad1d674260ba96e6776c9a9df3a5
[ThinLTO] Fix dot dumper for regular LTO modules

Regular LTO module identifier is (unsigned)-1. This patch emits correct
module identifier while printing edges with source summary in regular
LTO module.

Differential revision: https://reviews.llvm.org/D53583

llvm-svn: 345118
llvm/lib/IR/ModuleSummaryIndex.cpp
llvm/test/ThinLTO/X86/dot-dumper-full-lto.ll [new file with mode: 0644]