[opt-viewer] Display inlining context
authorAdam Nemet <anemet@apple.com>
Fri, 11 Nov 2016 01:25:04 +0000 (01:25 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 11 Nov 2016 01:25:04 +0000 (01:25 +0000)
commit5bf012baba4edb844664958dcd0209896ef61bb2
tree81d14f31c296f307125e2bafb7cbec1b903093eb
parent01823ea2de56227f90f0471b478acd46fe496b9b
[opt-viewer] Display inlining context

When a function is inlined, each instance is optimized in their own
inlining context.  This can produce different remarks all pointing to
the same source line.

This adds a new column on the source view to display the inlining
context.

llvm-svn: 286537
llvm/utils/opt-viewer/opt-viewer.py