[LLVMdev] tblgen: Assertion failed: "Buffer[Length-1] == '"'", file FileLexer.l, line 114

Chris Lattner sabre at nondot.org
Fri Aug 13 14:23:53 PDT 2004


On Fri, 13 Aug 2004, Henrik Bach wrote:

> I got this error:
> -------------------------------
> gmake[3]: Entering directory `/usr/local/src/llvm/lib/Target/X86'
> Building X86.td register information header with tblgen
> tblgen: Assertion failed: "Buffer[Length-1] == '"'", file FileLexer.l, line
> 114
> gmake[3]: *** [X86GenRegisterInfo.h.inc] Abort trap (core dumped)
> gmake[3]: Leaving directory `/usr/local/src/llvm/lib/Target/X86'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/usr/local/src/llvm/lib/Target'
> gmake[1]: *** [Target/.makeall] Error 2
> gmake[1]: Leaving directory `/usr/local/src/llvm/lib'
> gmake: *** [all] Error 1
> -------------------------------

I have no idea off hand, but it looks like your version of flex is doing
something funny.  Can you go into the debugger, and find out what is in
"Buffer" and what "Length" is?

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://nondot.org/sabre/




More information about the llvm-dev mailing list