commit | 4be00b7013661e64730a6369fbef1059db809ddf | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Sat Feb 18 02:00:27 2017 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Sat Feb 18 02:00:27 2017 +0000 |
tree | a507b3039c66b5802a9b3320abce3b6cb8fde1cf | |
parent | 47c9a8fc0d294fafebdd5e550a5e23da2be3c3a5 [diff] |
OptDiag: Allow constructing DiagnosticLocation from DISubprograms This avoids creating a DILocation just to represent a line number, since creating Metadata is expensive. Creating a DiagnosticLocation directly is much cheaper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295531 91177308-0d34-0410-b5e6-96231b3b80d8