commit | 99e14a04887570b11df90daf2e8a7adf84599b01 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jun 15 00:03:12 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jun 15 00:03:12 2010 +0000 |
tree | abcebaa67bc9ccda132b2e54de84f21c056f28d5 | |
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