commit | 362a05a635379ca1151e5ccf735295aed814dd4b | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Apr 15 17:04:27 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Apr 15 17:04:27 2012 +0000 |
tree | 9fe20ac540847e20dc24901779498dd97130bea5 | |
parent | 3ab32ea49ec13182f1397dc89c37551692f67140 [diff] |
Wire up support for diagnostic ranges in the ARMAsmParser. As an example, attach range info to the "invalid instruction" message: $ clang -arch arm -c asm.c asm.c:2:11: error: invalid instruction __asm__("foo r0"); ^ <inline asm>:1:2: note: instantiated into assembly here foo r0 ^~~ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154765 91177308-0d34-0410-b5e6-96231b3b80d8