diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-05 22:11:12 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-05 22:11:12 +0000 |
| commit | 817255ea365533dece0a00566c6098b7b0de8d0f (patch) | |
| tree | c47aa416c913510c5bc69c0fce40da57b8d4acd5 /lib/CodeGen/ModuleBuilder.cpp | |
| parent | c1ba5d5c4623443fe4cd25ef70d0af149f97b16c (diff) | |
| download | clang-817255ea365533dece0a00566c6098b7b0de8d0f.tar.gz clang-817255ea365533dece0a00566c6098b7b0de8d0f.tar.bz2 clang-817255ea365533dece0a00566c6098b7b0de8d0f.tar.xz | |
Provide fallback locations for backend remarks
Instead of disembodied diagnostics when debug info is disabled it's now
possible to identify the associated function's location in order to provide
some amount of of context.
We use the definition's body right brace location to differentiate the fallback
from diagnostics that genuinely relate to the function declaration itself (a
convention also used by gcc).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
