commit | 330e12bad4975aa3c9335ddb7223f462977484d4 | [log] [tgz] |
---|---|---|
author | Adam Nemet <anemet@apple.com> | Mon Nov 07 22:41:13 2016 +0000 |
committer | Adam Nemet <anemet@apple.com> | Mon Nov 07 22:41:13 2016 +0000 |
tree | ba6205302cb49b3b7d41a60bf91b2ac880205f05 | |
parent | 978966fb97a422782acd9afb51712a6e38b2c4d3 [diff] |
[OptDiag, opt-viewer] Save callee's location and display as link With this we get a new field in the YAML record if the value being streamed out has a debug location. For examples, please see the changes to the tests. This is then used in opt-viewer to display a link for the callee function in the inlining remarks. Differential Revision: https://reviews.llvm.org/D26366 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286169 91177308-0d34-0410-b5e6-96231b3b80d8