aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-02 03:53:34 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-02 03:53:34 +0000
commit25a404eb810ff9181af22f10cc2ffd0320e43aaf (patch)
tree92108969d0a35a34484b067e85f4abe0f2e52e2b /lldb/scripts/Python
parent6d12309475afbb6e2ab762cc59d7e0fb9e2d3d4e (diff)
downloadllvm-25a404eb810ff9181af22f10cc2ffd0320e43aaf.zip
llvm-25a404eb810ff9181af22f10cc2ffd0320e43aaf.tar.gz
llvm-25a404eb810ff9181af22f10cc2ffd0320e43aaf.tar.bz2
Include a source location when complaining about bad inline assembly.
Add a MI->emitError() method that the backend can use to report errors related to inline assembly. Call it from X86FloatingPoint.cpp when the constraints are wrong. This enables proper clang diagnostics from the backend: $ clang -c pr30848.c pr30848.c:5:12: error: Inline asm output regs must be last on the x87 stack __asm__ ("" : "=u" (d)); /* { dg-error "output regs" } */ ^ 1 error generated. llvm-svn: 134307
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions