diff options
| author | Sanne Wouda <sanne.wouda@arm.com> | 2017-02-13 13:58:00 +0000 |
|---|---|---|
| committer | Sanne Wouda <sanne.wouda@arm.com> | 2017-02-13 13:58:00 +0000 |
| commit | 91eadad3bd007b978dcb4f16d964f420496e30a0 (patch) | |
| tree | ceb60de40c67eeb4b35a572c49c78c39359b9826 /clang/lib/CodeGen/BackendUtil.cpp | |
| parent | 0de807f878274b12e1b15c4babf8b6887672145c (diff) | |
| download | bcm5719-llvm-91eadad3bd007b978dcb4f16d964f420496e30a0.tar.gz bcm5719-llvm-91eadad3bd007b978dcb4f16d964f420496e30a0.zip | |
[Assembler] Improve diagnostics for inline assembly.
Summary:
Keep a vector of LocInfos around; one for each call to EmitInlineAsm.
Since each call to EmitInlineAsm creates a new buffer in the inline asm
SourceMgr, we can use the buffer number to map to the right LocInfo.
Reviewers: rengolin, grosbach, rnk, echristo
Reviewed By: rnk
Subscribers: mehdi_amini, llvm-commits
Differential Revision: https://reviews.llvm.org/D29769
llvm-svn: 294947
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions

