[PATCH] D57206: [ThinLTO] Add option to dump per-module summary dot graph

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 16:55:34 PST 2019


tejohnson created this revision.
tejohnson added a reviewer: evgeny777.
Herald added subscribers: dexonsmith, steven_wu, eraman, inglorion, mehdi_amini.

I found that there currently isn't a way to invoke exportToDot from
the command line for a per-module summary index, and therefore no
testing of that case. Add an internal option and use it to test dumping
of per module summary indexes.

In particular, I am looking at fixing the limitation that causes the
aliasee GUID in the per-module summary to be 0, and want to be able to
test that change.


Repository:
  rL LLVM

https://reviews.llvm.org/D57206

Files:
  lib/Analysis/ModuleSummaryAnalysis.cpp
  test/ThinLTO/X86/dot-dumper.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57206.183443.patch
Type: text/x-patch
Size: 5746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190125/db1639d2/attachment-0001.bin>


More information about the llvm-commits mailing list