Displaying 3 results from an estimated 3 matches for "loccookie".
2011 Jul 01
0
[LLVMdev] Reporting errors in inline assembly
On Fri, Jul 1, 2011 at 4:09 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> I want to report a problem with an inline assembly instruction from a code generator pass?
>
> How can I do that with the proper diagnostic format and source location?
>
> Right now we only get:
>
> clang -c /d/g/clang-tests/gcc-4_2-testsuite/src/gcc.target/i386/pr30848.c
> fatal
2011 Jul 01
2
[LLVMdev] Reporting errors in inline assembly
I want to report a problem with an inline assembly instruction from a code generator pass?
How can I do that with the proper diagnostic format and source location?
Right now we only get:
clang -c /d/g/clang-tests/gcc-4_2-testsuite/src/gcc.target/i386/pr30848.c
fatal error: error in backend: Inline asm output regs must be last on the x87 stack
But gcc-4-2 can:
$ gcc-4.2 -c
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...e "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
+#include "llvm/System/Host.h"
using namespace llvm;
/// EmitInlineAsm - Emit a blob of inline asm to the output streamer.
@@ -83,16 +84,17 @@ void AsmPrinter::EmitInlineAsm(StringRef Str, unsigned LocCookie) const {
// Tell SrcMgr about this buffer, it takes ownership of the buffer.
SrcMgr.AddNewSourceBuffer(Buffer, SMLoc());
- AsmParser Parser(SrcMgr, OutContext, OutStreamer, *MAI);
- OwningPtr<TargetAsmParser> TAP(TM.getTarget().createAsmParser(Parser));
+ // FIXME: Doesn't wo...