summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
Commit message (Collapse)AuthorAgeFilesLines
* 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-123-43/+71
| | | | llvm-svn: 108196
* MC/AsmParser: Move Darwin specific parse to DarwinAsmParser.cpp.Daniel Dunbar2010-07-123-728/+766
| | | | 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-123-0/+28
| | | | | | classes which want to extend the basic asm parser. llvm-svn: 108158
* MC: Move AsmParser::TokError to MCAsmParser().Daniel Dunbar2010-07-122-5/+6
| | | | llvm-svn: 108155
* MC: Move getLoc() to MCAsmLexer().Daniel Dunbar2010-07-122-6/+5
| | | | llvm-svn: 108154
* Convert some tab stops into spaces.Duncan Sands2010-07-124-8/+8
| | | | llvm-svn: 108130
* introduce WinCOFFObjectWriter, patch by Michael Spencer!Chris Lattner2010-07-112-0/+72
| | | | llvm-svn: 108103
* introduce WinCOFFStreamer.cpp, patch by Michael Spencer!Chris Lattner2010-07-112-0/+199
| | | | llvm-svn: 108102
* Revert some unneeded parts of the change in r107886 for theKevin Enderby2010-07-082-2/+0
| | | | | | | | | .weak_def_can_be_hidden directive. Chris pointed out that the MCAsmInfo.h/.cpp chunks aren't needed for this until the compiler starts generating these. And when that happens it will be more convenient for it to be a bool than a const char*. llvm-svn: 107906
* Added the darwin .weak_def_can_be_hidden directive.Kevin Enderby2010-07-085-0/+9
| | | | llvm-svn: 107886
* finish up support for callw: PR7195Chris Lattner2010-07-071-0/+2
| | | | llvm-svn: 107826
* 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
* MC: Move COFF enumeration constants to llvm/Support/COFF.h, patch by MichaelDaniel Dunbar2010-07-011-7/+7
| | | | | | Spencer! llvm-svn: 107418
* Revert r107205 and r107207.Bill Wendling2010-06-292-2/+0
| | | | llvm-svn: 107215
* Introducing the "linker_weak" linkage type. This will be used for Objective-CBill Wendling2010-06-292-0/+2
| | | | | | | | | | | | | | | | | | | metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205
* The variable ValueSize is set to 1 on both code paths, and thenDuncan Sands2010-06-291-5/+1
| | | | | | ignored! Remove it. llvm-svn: 107138
* The variable "Value" is carefully set to Layout.getSymbolAddress,Duncan Sands2010-06-291-4/+0
| | | | | | but then not actually used - maybe a bug? Remove the variable. llvm-svn: 107137
* 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-282-0/+70
| | | | llvm-svn: 107077
* Get the addend correct for i386 pic.Eric Christopher2010-06-221-1/+7
| | | | | | Thanks Daniel! llvm-svn: 106608
* "This is just a cosmetic change in MCAsmStreamer.cpp/EmitSymbolAttribute: ↵Chris Lattner2010-06-211-11/+11
| | | | | | | | | | | all attributes have now a \t before and after, as done for '.type'. This makes the output look consistent, as well as help some third party assemblers expecting the attributes to be in the second column." Patch by Arnaud de Grandmaison! llvm-svn: 106469
* Update comment.Eric Christopher2010-06-171-1/+2
| | | | llvm-svn: 106191
* In progress on 32-bit addends.Eric Christopher2010-06-161-1/+7
| | | | llvm-svn: 106154
* MC/Mach-O: Rewrite atom association to be a final pass we do in Finish(), ↵Daniel Dunbar2010-06-161-33/+46
| | | | | | | | instead of tracking as part of emission. - This allows sharing more code with the MCObjectStreamer. llvm-svn: 106143
* MC: Simplify MCAssembler::isSymbolLinkerVisible to only take an MCSymbol.Daniel Dunbar2010-06-163-10/+9
| | | | llvm-svn: 106142
* MC: Lift SwitchSection() and Finish() into MCObjectStreamer.Daniel Dunbar2010-06-162-42/+38
| | | | llvm-svn: 106141
* MC: Factor out an MCObjectStreamer class, which will be shared by the concreteDaniel Dunbar2010-06-163-29/+51
| | | | | | object file format writers. llvm-svn: 106140
* Fix indentation.Eric Christopher2010-06-161-4/+4
| | | | llvm-svn: 106072
* Some more work on mach-o TLV relocations.Eric Christopher2010-06-151-0/+38
| | | | llvm-svn: 106062
* Don't call flush() at a library level which isn't checking for errorsDan Gohman2010-06-012-2/+0
| | | | | | and doesn't know where the output is going. llvm-svn: 105274
* Rearrange conditionals so we don't get caught with the correct type as wrong.Eric Christopher2010-05-271-3/+3
| | | | llvm-svn: 104793
* MC: When running with -mc-relax-all, we can eagerly relax instructions and ↵Daniel Dunbar2010-05-262-21/+20
| | | | | | avoid creating unnecessary MCInstFragments. llvm-svn: 104736
* MC/Mach-O: Factor out EmitInstTo{Fragment,Data} for emitting MCInst's as ↵Daniel Dunbar2010-05-261-34/+46
| | | | | | MCInstFragments or appending onto an MCDataFragment. llvm-svn: 104735
* MC: Change RelaxInstruction to only take the input and output instructions.Daniel Dunbar2010-05-261-1/+1
| | | | llvm-svn: 104713
OpenPOWER on IntegriCloud