summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* MC/AsmParser: Stop playing unsafe member function pointer calls, this isn'tDaniel Dunbar2010-07-181-19/+17
| | | | | | | | portable enough. - Downside is we now double dispatch through a stub function, but this isn't performance critical. llvm-svn: 108661
* MC/AsmParser: Fix .abort and .secure_log_unique to accept arbitrary tokenDaniel Dunbar2010-07-181-14/+20
| | | | | | sequences, not just strings. llvm-svn: 108655
* MC/AsmParser: Add macro argument substitution support.Daniel Dunbar2010-07-181-8/+85
| | | | llvm-svn: 108654
* MC/AsmParser: Add basic support for macro instantiation.Daniel Dunbar2010-07-181-20/+112
| | | | llvm-svn: 108653
* MC/AsmParser: Add basic parsing support for .macro definitions.Daniel Dunbar2010-07-181-0/+96
| | | | llvm-svn: 108652
* MC/AsmParser: Add .macros_{off,on} support, not that makes sense since we don'tDaniel Dunbar2010-07-181-5/+37
| | | | | | support macros. llvm-svn: 108649
* MC/AsmParser: Use Error() instead of calling PrintMessage() directly.Daniel Dunbar2010-07-181-4/+2
| | | | llvm-svn: 108648
* MC/AsmParser: Hide the AsmParser implementation.Daniel Dunbar2010-07-181-3/+117
| | | | llvm-svn: 108646
* MC/AsmParser: Lift Run() and TargetParser to base class.Daniel Dunbar2010-07-171-7/+8
| | | | | | Also, add constructor function for creating AsmParser instances. llvm-svn: 108604
* fix indentation and 80 colsChris Lattner2010-07-151-2/+3
| | | | llvm-svn: 108460
* Don't pass StringRef by reference.Benjamin Kramer2010-07-141-1/+1
| | | | llvm-svn: 108366
* MC/AsmParser: Move ELF specific parser to ELFAsmParser.cpp.Daniel Dunbar2010-07-121-43/+2
| | | | llvm-svn: 108196
* MC/AsmParser: Move Darwin specific parse to DarwinAsmParser.cpp.Daniel Dunbar2010-07-121-728/+7
| | | | llvm-svn: 108193
* MC/AsmParser: Move .section parsing to Darwin specific parser.Daniel Dunbar2010-07-121-13/+10
| | | | llvm-svn: 108190
* MC/AsmParser: Move special section directive parsing to Darwin specific parser.Daniel Dunbar2010-07-121-158/+316
| | | | llvm-svn: 108187
* MC/AsmParser: Add a basic ELFAsmParser extension.Daniel Dunbar2010-07-121-0/+45
| | | | llvm-svn: 108185
* MC/AsmParser: Inline AsmParser::CreateSymbol into callers.Daniel Dunbar2010-07-121-11/+6
| | | | llvm-svn: 108183
* MC/AsmParser: Move .tbss and .zerofill parsing to Darwin specific parser.Daniel Dunbar2010-07-121-26/+30
| | | | llvm-svn: 108180
* MC/AsmParser: Move .desc parsing to Darwin specific parser.Daniel Dunbar2010-07-121-7/+8
| | | | llvm-svn: 108179
* MC/AsmParser: Move .lsym parsing to Darwin specific parser.Daniel Dunbar2010-07-121-8/+9
| | | | llvm-svn: 108176
* MC/AsmParser: Move some misc. Darwin directive handling to DarwinAsmParser.Daniel Dunbar2010-07-121-23/+34
| | | | llvm-svn: 108174
* MC/AsmParser: Add a DarwinAsmParser extension.Daniel Dunbar2010-07-121-1/+24
| | | | | | | - Currently initialization is a bit of a hack, but harmless. We need to rework various parts of target initialization to clean this up. llvm-svn: 108165
* MC/AsmParser: Switch a bunch of directive parsing to use accessors.Daniel Dunbar2010-07-121-112/+114
| | | | llvm-svn: 108163
* MCAsmParser: Pull some directive handling out into a helper class, and changeDaniel Dunbar2010-07-121-15/+43
| | | | | | DirectiveMap to be based on MCAsmParserExtension. llvm-svn: 108161
* MC/AsmParser: Switch some directive parsing to use accessor methods.Daniel Dunbar2010-07-121-17/+17
| | | | llvm-svn: 108160
* MC: Add MCAsmParserExtension, a base class for all the target/object specificDaniel Dunbar2010-07-121-0/+6
| | | | | | classes which want to extend the basic asm parser. llvm-svn: 108158
* MC: Move AsmParser::TokError to MCAsmParser().Daniel Dunbar2010-07-121-5/+0
| | | | llvm-svn: 108155
* Convert some tab stops into spaces.Duncan Sands2010-07-121-2/+2
| | | | llvm-svn: 108130
* Added the darwin .weak_def_can_be_hidden directive.Kevin Enderby2010-07-081-0/+2
| | | | llvm-svn: 107886
* MC: Fix some stray hunks I didn't intend to commit.Daniel Dunbar2010-07-011-1/+2
| | | | llvm-svn: 107428
* MC: Pass the target instance to the AsmParser constructor.Daniel Dunbar2010-07-011-6/+3
| | | | llvm-svn: 107426
* MC: Fix an error message.Daniel Dunbar2010-07-011-1/+1
| | | | llvm-svn: 107424
* Remove unused calls to Lexer.getLoc and the pointless variable HasFillExpr.Duncan Sands2010-06-291-7/+0
| | | | llvm-svn: 107136
* Added the darwin .secure_log_unique and .secure_log_reset directives.Kevin Enderby2010-06-281-0/+63
| | | | llvm-svn: 107077
* llvm-mc: Use EmitIntValue where possible, which makes the API calls from the ↵Daniel Dunbar2010-05-231-3/+6
| | | | | | AsmParser and CodeGen line up better. llvm-svn: 104467
* llvm-mc: Use AddBlankLine in asm parser. This makes transliteration match ↵Daniel Dunbar2010-05-231-0/+9
| | | | | | the input much more closely, and also makes the API calls from the AsmParser and CodeGen line up better. llvm-svn: 104466
* Add support for parsing the ELF .type assembler directive.Matt Fleming2010-05-211-0/+49
| | | | llvm-svn: 104316
* fix rdar://7986634 - match instruction opcodes case insensitively.Chris Lattner2010-05-191-1/+6
| | | | llvm-svn: 104183
* Make EmitTBSSSymbol take a section argument so that we can find it later.Eric Christopher2010-05-181-1/+4
| | | | | | Fix up callers and users. llvm-svn: 104057
* Added support in MC for Directional Local Labels.Kevin Enderby2010-05-171-4/+43
| | | | llvm-svn: 103989
* More data/parsing support for tls directives. Add a few more testcasesEric Christopher2010-05-171-0/+10
| | | | | | and cleanup comments as well. llvm-svn: 103985
* MC/Mach-O/x86: Optimal nop sequences should only be used for the .text ↵Daniel Dunbar2010-05-171-8/+13
| | | | | | sections, not all sections in the text segment. llvm-svn: 103981
* llvm-mc: Support reassignment of variables in one special case, when theDaniel Dunbar2010-05-171-1/+8
| | | | | | | | variable has not yet been used in an expression. This allows us to support a few cases that show up in real code (mostly because gcc generates it for Objective-C on Darwin), without giving up a reasonable semantic model for assignment. llvm-svn: 103950
* Assume that we'll handle mangling the symbols earlier and just put theEric Christopher2010-05-171-6/+2
| | | | | | symbol to the file as we have it. Simplifies out tbss handling. llvm-svn: 103928
* Add AsmParser support for darwin tbss directive.Eric Christopher2010-05-141-0/+57
| | | | | | Nothing uses this yet. llvm-svn: 103757
* Fix a couple of typos.Eric Christopher2010-05-141-2/+2
| | | | llvm-svn: 103756
* fix rdar://7965971 and a fixme: use ParseIdentifier inChris Lattner2010-05-131-13/+9
| | | | | | | | ParseDirectiveDarwinZerofill instead of hard coding the check for identifier. This allows quoted symbol names to be used. llvm-svn: 103682
* MC: Reject attempts to define a variable symbol.Daniel Dunbar2010-05-051-1/+1
| | | | llvm-svn: 103111
* MC: Rename MCSymbol::{g,s}etValue -> MCSymbol::{g,s}etVariableValue.Daniel Dunbar2010-05-051-3/+3
| | | | llvm-svn: 103095
* llvm-mc: Fix case were we would skip a line in the .s file after an instructionDaniel Dunbar2010-05-041-26/+25
| | | | | | | | match failure. Also, fixes a few memory leak FIXMEs. llvm-svn: 102986
OpenPOWER on IntegriCloud