diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-15 00:03:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-15 00:03:12 +0000 |
commit | 99e14a04887570b11df90daf2e8a7adf84599b01 (patch) | |
tree | abcebaa67bc9ccda132b2e54de84f21c056f28d5 /lib/Frontend/FrontendActions.cpp | |
parent | c66bcfd32b941d8008284ecae9d16d7d47c96b0b (diff) |
fix the inline asm diagnostics to emit the error on the primary
source code location instead of on the note. Previously we generated:
<inline asm>:1:2: error: unrecognized instruction
barf
^
t.c:4:8: note: generated from here
asm ("barf");
^
Now we generate:
t.c:4:8: error: unrecognized instruction
asm ("barf");
^
<inline asm>:1:2: note: instantated into assembly here
barf
^
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions