70796ca867132fd8c767301061afb9760cd69167 |
|
15-Sep-2011 |
Jim Grosbach <grosbach@apple.com> |
Handle missing newline at EOF more gracefully in MC AsmLexer. If we see an EOF w/o a preceding end-of-line, return an EndOfStatement token before returning the Eof token. Based on patch by Stepan Dyatkovskiy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
6148225b9590f18fcb6a1d3151d3158b316965e0 |
|
14-Sep-2011 |
Jim Grosbach <grosbach@apple.com> |
Move state var to private class member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71 |
|
14-Sep-2011 |
Kevin Enderby <enderby@apple.com> |
First step in supporting #line directives in assembler. This step parses the #line directives with the needed support in the lexer. Next will be to build a simple file/line# table mapping source SMLoc's for later use by diagnostics. And the last step will be to get the diagnostics to use the mapping for file and line numbers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
0ecd825e54f2235c133b44c967a612551633106c |
|
04-Aug-2011 |
Chris Lattner <sabre@nondot.org> |
allow \r's in .s files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
653664471333f316020e96dd3d664f4984f66a65 |
|
05-Jun-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Basic support for macros with explicit arguments. We still don't handle * default values * :req * :vararg * \() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
05f9e4e8bd2347826c50ec391ea4ec8caffe45ef |
|
12-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Match case for invalid constant error messages and add a new test for invalid hexadecimals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
120fd2dd6dd00dfab002ad4d6a39e0445dd6894d |
|
12-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Lex, and then fail on invalid constants. Testcase forthcoming. rdar://8490596 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
d31d304f83f9c8df6870057509414b8d004bc8da |
|
24-Mar-2011 |
Jim Grosbach <grosbach@apple.com> |
Clean up assembly statement separator support. The MC asm lexer wasn't honoring a non-default (anything but ';') statement separator. Fix that, and generalize a bit to support multi-character statement separators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
de2f5f423bc87f6f1ee0d02862b00cc32940a93a |
|
11-Feb-2011 |
Jim Grosbach <grosbach@apple.com> |
More whitespace cleanup... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125388 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
7ab3cc32d6bd3c3166184e27713c91f5317c7f85 |
|
25-Dec-2010 |
Chris Lattner <sabre@nondot.org> |
Generalize a previous change, fixing PR8855 - an valid large immediate rejected by the mc assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
476b242fe7a61e5f9ac6214b0bc5c680d24f152e |
|
19-Dec-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Add missing standard headers. Patch by Joerg Sonnenberger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
7529b164104f802b59fbf96f5a88d9709ac3ff1a |
|
18-Dec-2010 |
Roman Divacky <rdivacky@freebsd.org> |
Add support for lexing single quotes like 'c'. This fixed 8615. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122150 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
bdf90d679befafe70b93082042266ba58a9ad0b2 |
|
25-Oct-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC/AsmLexer: Fix bug in source location for Slash token. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
4f2afe3d399eb9485dc605f3cc3a6382dcae757a |
|
27-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC/AsmParser: Handle exponents in floating point literals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
facb34b41cea284b5a0b4992ff619e5cfd5e6a22 |
|
24-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC/AsmParser: Handle a missed case of floating literals in the lexer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
54f0a625b0eb9afeece652a8462755010d237c78 |
|
24-Sep-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC/Lexer: Add 'Real' token type for floating point literals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114718 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
a78c67e9bbf6ff0253945f3ba5bc178ece76d886 |
|
24-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
fix rdar://7997827 - Accept and ignore LL and ULL suffixes on integer literals. Also fix 0b010 syntax to actually work while we're at it :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111876 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
ca90dc6d295f7f6a5ef4240f26bcebe54276def5 |
|
12-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC: Move getLoc() to MCAsmLexer(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
3472766f9eb7d66f234c390ce1b3a8b76f0ee9ce |
|
12-Jul-2010 |
Duncan Sands <baldrick@free.fr> |
Convert some tab stops into spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
924c5e58f2a7c89019000e7dee3391dcebdf8a21 |
|
21-May-2010 |
Matt Fleming <matt@console-pimps.org> |
Add support for parsing the ELF .type assembler directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
9f2ad11624ebc73963007ee02958a9b41962422f |
|
18-May-2010 |
Kevin Enderby <enderby@apple.com> |
Incorporate Daniel's suggestion and use !isdigit(CurPtr[0]) and not CurPtr[0] == '\n' when testing the character after a "0b" when looking to see if it part of a something like "jmp 0b". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
d8ba292c9bc4e0927ea21304d735e27a43d296a6 |
|
18-May-2010 |
Kevin Enderby <enderby@apple.com> |
Fixed the problem with a branch to "0b" that was not parsed by llvm-mc correctly. The Lexer was incorrectly eating the newline casusing it to branch to address 0. Updated the test case to use a "0:" label and a branch to "0b". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
ebe7fcd041e1e9c3a0c535b26d8cdb45805bbeb8 |
|
18-May-2010 |
Kevin Enderby <enderby@apple.com> |
Added support in MC for Directional Local Labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
5fe03c023cd47a718759a3a4dc1d8e33297ae0fc |
|
06-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r103137, fix for $ in labels. It looks like we can't actually handle this at the token level. Consider the following horrible test case: a = 1 .globl $a movl ($a), %eax movl $a, %eax movl $$a, %eax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
851f87c6c98af936ba68c5ca8962df3832f8a5fc |
|
06-May-2010 |
Chris Lattner <sabre@nondot.org> |
fix rdar://7946934 - in some limited cases, the assembler should allow $ at the start of a symbol name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
d305035155ef3d138e102434bf5a733ea2e32405 |
|
14-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
implement mc asmparser support for '.', which gets the current PC. rdar://7834775 We now produce an identical .o file compared to the cctools assembler for something like this: _f0: L0: jmp L1 .long . - L0 L1: jmp A .long . - L1 .zerofill __DATA,_bss,A,0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
3a151be8d5f85ca12737f5664ef91192014a4f77 |
|
13-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
add a hack to allow parsing negative minint. rdar://7751341 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
d5a7e357a22b2e916a5b5e9d200ad284b95e35f1 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
stop using strtoll, it gives windows heartburn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|
be343b3ca3f53d5d5e29f3591af8b9bb831daa98 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
move some files out of the llvm-mc tool into the MCParser library so other tools can link it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/AsmLexer.cpp
|