commit | 787e150ebea15e81dbd497846388c8c5dc855fb6 | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Sat Feb 18 00:42:23 2017 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Sat Feb 18 00:42:23 2017 +0000 |
tree | af1ad5a0c15f9a68c7475807b85095cca49a78c6 | |
parent | 5e55477ae573dbeeb2c0abbbf3e26d6960423279 [diff] |
OptDiag: Decouple backend diagnostics from debug info metadata This creates and uses a DiagnosticLocation type rather than using DebugLoc for this purpose in the backend diagnostics. This is NFC for now, but will allow us to create locations for diagnostics without having to create new metadata nodes when we don't have a DILocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295519 91177308-0d34-0410-b5e6-96231b3b80d8