commit | 6da9eb661616ffd702deeb37e6872dd2294c8fef | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Apr 06 18:38:50 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Apr 06 18:38:50 2010 +0000 |
tree | c8d2edb3fb983bdcdb43adaeeeac19acf554dfde | |
parent | cabae68037bd3740ac4fb73382e04cd365457c17 [diff] |
teach clang to install the inline asm diagnostic handler, allowing backend errors to be mapped through clang's diagnostics subsystem, including the backend location info. We now get: $ clang asm.c -c -o t.o -integrated-as <inline asm>:1:2: error: unrecognized instruction abc incl %eax ^ 1 diagnostic generated. With colors, and correct "# diagnostics generated". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100543 91177308-0d34-0410-b5e6-96231b3b80d8