diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-26 18:22:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-26 18:22:24 +0000 |
commit | 574428e4db415a9c0044c0612b818f9fa820abe4 (patch) | |
tree | c78065347b4a764418e118f35c8f5ce77507b88e /clang/lib/Frontend/PCHReader.cpp | |
parent | 995f81c5cea9fd0e55a9c37a33bb4c34be51a816 (diff) | |
download | bcm5719-llvm-574428e4db415a9c0044c0612b818f9fa820abe4.tar.gz bcm5719-llvm-574428e4db415a9c0044c0612b818f9fa820abe4.zip |
implement PR4077: [Linux kernel] inscrutable error on inline asm input/output constraint mismatch
Before we emitted:
$ clang t.c -S -m64
llvm: error: Unsupported asm: input constraint with a matching output constraint of incompatible type!
Now we produce:
$ clang t.c -S -m64
t.c:5:40: error: unsupported inline asm: input with type 'unsigned long' matching output with type 'int'
asm volatile("foo " : "=a" (a) :"0" (b));
~~~ ~^~
llvm-svn: 70142
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
0 files changed, 0 insertions, 0 deletions