Displaying 4 results from an estimated 4 matches for "emitstringmatcherforchar".
2015 Dec 29
2
TableGen - cryptic error messages (~feature request)
...en, which required a few good hours of debugging the TableGen program.
The most cryptic error message was when compiling with TableGen, with the option
-gen-asm-matcher . Here I got the following error message:
llvm-tblgen: ~/llvm/lib/TableGen/StringMatcher.cpp:52: bool
llvm::StringMatcher::EmitStringMatcherForChar(const std::vector<const
std::pair<std::basic_string<char>, std::basic_string<char> >*>&, unsigned int, unsigned
int) const: Assertion `Matches.size() == 1 && "Had duplicate keys to match on"' failed.
[...]
Stack dump:
0. Program arguments: ~/...
2012 Jan 31
4
[LLVMdev] (MC) Register parsing for AsmParser (standalone assembler)
...methods to aid the parser (MipsAsmParser.cpp) which is a stripped down ARM implementation.
I am getting an assertion for what I believe are multiple register definitions with the same name.
llvm-tblgen: /home/jcarter/workarea/asm/llvm/utils/TableGen/StringMatcher.cpp:52: bool llvm::StringMatcher::EmitStringMatcherForChar(const std::vector<const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::allocator<const std::pair<std::basic_string<char, std::char...
2012 Feb 02
0
[LLVMdev] (MC) Register parsing for AsmParser (standalone assembler)
...arser (MipsAsmParser.cpp) which is a stripped down ARM implementation.
>
> I am getting an assertion for what I believe are multiple register definitions with the same name.
>
> llvm-tblgen: /home/jcarter/workarea/asm/llvm/utils/TableGen/StringMatcher.cpp:52: bool llvm::StringMatcher::EmitStringMatcherForChar(const std::vector<const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::allocator<const std::pair<std::basic_string<char, std::char...
2012 Feb 03
0
[LLVMdev] (MC) Register parsing for AsmParser (standalone assembler)
...arser (MipsAsmParser.cpp) which is a stripped down ARM implementation.
>
> I am getting an assertion for what I believe are multiple register definitions with the same name.
>
> llvm-tblgen: /home/jcarter/workarea/asm/llvm/utils/TableGen/StringMatcher.cpp:52: bool llvm::StringMatcher::EmitStringMatcherForChar(const std::vector<const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::allocator<const std::pair<std::basic_string<char, std::char...