| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | eliminate a use of strtoul. | Chris Lattner | 2009-09-20 | 1 | -12/+2 |
| | | | | | llvm-svn: 82382 | ||||
| * | Allow symbols to start from the digit if target requests it. This allows, ↵ | Anton Korobeynikov | 2009-09-18 | 2 | -6/+10 |
| | | | | | | | | | | e.g. pinning variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227 | ||||
| * | Big change #1 for personality function references: | Chris Lattner | 2009-09-16 | 2 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding fields from MAI: they aren't part of the asm syntax, they are related to the structure of the object file. To replace their functionality, add a new TLOF::getSymbolForDwarfGlobalReference method which asks targets to decide how to reference a global from EH in a pc-relative way. The default implementation just returns the symbol. The default darwin implementation references the symbol through an indirect $non_lazy_ptr stub. The bizarro x86-64 darwin specialization handles the weird "foo@GOTPCREL+4" hack. DwarfException.cpp now uses this to emit the reference to the symbol in the right way, and this also eliminates another horrible hack from DwarfException.cpp: - if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL")) - O << "-" << MAI->getPCSymbol(); llvm-svn: 81991 | ||||
| * | add a helper method for creating MCSymbol and MCSymbolRefExpr at | Chris Lattner | 2009-09-16 | 1 | -0/+6 |
| | | | | | | | the same time. llvm-svn: 81984 | ||||
| * | remove some horrible MAI hooks which fortunately turn out to be always empty. | Chris Lattner | 2009-09-15 | 1 | -4/+0 |
| | | | | | llvm-svn: 81946 | ||||
| * | Update CMake. | Daniel Dunbar | 2009-09-14 | 1 | -0/+1 |
| | | | | | llvm-svn: 81757 | ||||
| * | Change MCAsmStreamer to take an MCInstPrinter instead of a | Chris Lattner | 2009-09-14 | 1 | -8/+8 |
| | | | | | | | | | | | | full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754 | ||||
| * | add a new MCInstPrinter class, move the (trivial) MCDisassmbler ctor inline. | Chris Lattner | 2009-09-14 | 2 | -3/+14 |
| | | | | | llvm-svn: 81745 | ||||
| * | 'printMCInst' doesn't print newlines after instructions anymore. | Chris Lattner | 2009-09-13 | 1 | -0/+1 |
| | | | | | llvm-svn: 81723 | ||||
| * | remove MAI::JumpTableSpecialLabelPrefix now that MAI | Chris Lattner | 2009-09-13 | 2 | -7/+0 |
| | | | | | | | has real information about linker private linkage. llvm-svn: 81695 | ||||
| * | fix MCSymbol printing on darwin to exactly match the mangler (handling of \n ↵ | Chris Lattner | 2009-09-13 | 1 | -8/+28 |
| | | | | | | | and " in a symbol name). llvm-svn: 81683 | ||||
| * | Make the MC symbol printer and llvm::Mangler exactly agree on mangling | Chris Lattner | 2009-09-13 | 1 | -20/+50 |
| | | | | | | | for systems that don't support quoting (PR4966). llvm-svn: 81682 | ||||
| * | eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for | Chris Lattner | 2009-09-12 | 1 | -3/+0 |
| | | | | | | | MBB labels like everything else. llvm-svn: 81628 | ||||
| * | Update CMake files. | Ted Kremenek | 2009-09-11 | 1 | -0/+1 |
| | | | | | llvm-svn: 81577 | ||||
| * | canonicalize namespace gymnastics | Chris Lattner | 2009-09-09 | 1 | -2/+3 |
| | | | | | llvm-svn: 81402 | ||||
| * | Added an abstract superclass, MCDisassembler, for | Sean Callanan | 2009-09-09 | 1 | -0/+16 |
| | | | | | | | | | | | | | | all disassemblers. Modified the MemoryObject to support 64-bit address spaces, regardless of the LLVM process's address width. Modified the Target class to allow extraction of a MCDisassembler. llvm-svn: 81392 | ||||
| * | allow @ in symbol names without quoting the identifier. This | Chris Lattner | 2009-09-09 | 1 | -1/+1 |
| | | | | | | | allows things like @PLT without quotes. llvm-svn: 81296 | ||||
| * | parenthesize symbol names that start with $, fixing X86/dollar-name.ll with | Chris Lattner | 2009-09-08 | 1 | -2/+13 |
| | | | | | | | the new asmprinter. llvm-svn: 81269 | ||||
| * | Print "X-42" instead of "X+-42". | Chris Lattner | 2009-09-08 | 1 | -1/+11 |
| | | | | | llvm-svn: 81203 | ||||
| * | make formatting of expressions more closely match the existing asmprinter. | Chris Lattner | 2009-09-08 | 1 | -6/+19 |
| | | | | | llvm-svn: 81202 | ||||
| * | tidy whitespace. | Chris Lattner | 2009-09-08 | 1 | -7/+4 |
| | | | | | llvm-svn: 81201 | ||||
| * | fix MCSymbol printing to exactly match the normal mangler rules so | Chris Lattner | 2009-09-03 | 1 | -19/+23 |
| | | | | | | | we can diff .s files. llvm-svn: 80894 | ||||
| * | Thread an MCAsmInfo pointer through the various MC printing APIs, | Chris Lattner | 2009-09-03 | 5 | -29/+38 |
| | | | | | | | | and fix a few things using << on MCSymbols to use ->print(). No functionality change other than unbreaking my previous patch. llvm-svn: 80890 | ||||
| * | inline insertion operators. | Chris Lattner | 2009-09-03 | 1 | -15/+9 |
| | | | | | llvm-svn: 80888 | ||||
| * | output alignment value in hex so that we get: | Chris Lattner | 2009-09-03 | 1 | -1/+2 |
| | | | | | | | | | | | .align 3, 0x90 instead of, .align 3, 144 suggested by eric. llvm-svn: 80875 | ||||
| * | llvm-mc: Store MCSymbolData value as a pointer (to make MSVC happy). | Daniel Dunbar | 2009-09-01 | 1 | -2/+2 |
| | | | | | llvm-svn: 80652 | ||||
| * | llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues. | Daniel Dunbar | 2009-08-31 | 3 | -34/+37 |
| | | | | | llvm-svn: 80578 | ||||
| * | llvm-mc: Simplify EmitAssignment ('.set' is identical to '='). | Daniel Dunbar | 2009-08-31 | 3 | -25/+6 |
| | | | | | llvm-svn: 80577 | ||||
| * | llvm-mc: Switch MCInst to storing an MCExpr* instead of an MCValue. | Daniel Dunbar | 2009-08-31 | 3 | -27/+35 |
| | | | | | | | Also, use MCInst::print instead of custom code in MCAsmPrinter. llvm-svn: 80575 | ||||
| * | llvm-mc: Make MCSymbolData symbol member const. | Daniel Dunbar | 2009-08-31 | 2 | -6/+6 |
| | | | | | llvm-svn: 80573 | ||||
| * | llvm-mc: Add MCContext to MCAssembler. | Daniel Dunbar | 2009-08-31 | 2 | -4/+3 |
| | | | | | llvm-svn: 80572 | ||||
| * | llvm-mc: Add MCExpr::{dump,print}. | Daniel Dunbar | 2009-08-31 | 1 | -0/+67 |
| | | | | | llvm-svn: 80570 | ||||
| * | llvm-mc: Switch MCExpr construction to using static member functions, and ↵ | Daniel Dunbar | 2009-08-31 | 1 | -8/+28 |
| | | | | | | | taking the MCContext (which now owns all MCExprs). llvm-svn: 80569 | ||||
| * | llvm-mc: Move AsmExpr into MC lib (as MCExpr). | Daniel Dunbar | 2009-08-31 | 2 | -0/+163 |
| | | | | | llvm-svn: 80567 | ||||
| * | llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported ↵ | Daniel Dunbar | 2009-08-30 | 3 | -32/+16 |
| | | | | | | | | | for now. - Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency). llvm-svn: 80484 | ||||
| * | llvm-mc: .lsym is more unsupported than unimplemented, pending a use case ↵ | Daniel Dunbar | 2009-08-28 | 1 | -5/+5 |
| | | | | | | | | | appearing. Also, all one of the file level flags are implemented. llvm-svn: 80352 | ||||
| * | llvm-mc: Support .comm emission. | Daniel Dunbar | 2009-08-28 | 2 | -14/+41 |
| | | | | | llvm-svn: 80351 | ||||
| * | llvm-mc: Support .zerofill emission. | Daniel Dunbar | 2009-08-28 | 2 | -4/+85 |
| | | | | | | | - I'm still trying to figure out the cleanest way to implement this and match the assembler, currently there are some substantial differences. llvm-svn: 80347 | ||||
| * | llvm-mc: Tweak section alignment and size computation to match 'as' closer. | Daniel Dunbar | 2009-08-28 | 1 | -20/+42 |
| | | | | | llvm-svn: 80345 | ||||
| * | llvm-mc: Factor getSectionData out of SwitchSection. | Daniel Dunbar | 2009-08-28 | 1 | -7/+11 |
| | | | | | llvm-svn: 80344 | ||||
| * | llvm-mc: Emit .lcomm as .zerofill. | Daniel Dunbar | 2009-08-28 | 3 | -10/+6 |
| | | | | | llvm-svn: 80343 | ||||
| * | llvm-mc: Add const to EmitZeroFill section argument. | Daniel Dunbar | 2009-08-28 | 3 | -5/+5 |
| | | | | | llvm-svn: 80341 | ||||
| * | llvm-mc: Fix thinko in emitting values. | Daniel Dunbar | 2009-08-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 80340 | ||||
| * | llvm-mc/Mach-O: Add MCCodeEmitter support, for encoding instructions. | Daniel Dunbar | 2009-08-27 | 1 | -5/+24 |
| | | | | | | | - No relocations yet, of course. llvm-svn: 80235 | ||||
| * | llvm-mc: Print encodings after the instruction, and only when we have an asm | Daniel Dunbar | 2009-08-27 | 1 | -17/+18 |
| | | | | | | | printer. llvm-svn: 80233 | ||||
| * | Add {MCInst,MCOperand}::{print,dump} | Daniel Dunbar | 2009-08-27 | 2 | -0/+53 |
| | | | | | llvm-svn: 80231 | ||||
| * | Update CMake | Daniel Dunbar | 2009-08-27 | 1 | -0/+1 |
| | | | | | llvm-svn: 80195 | ||||
| * | llvm-mc: Tweak MCCodeEmitter skeleton. | Daniel Dunbar | 2009-08-27 | 1 | -0/+18 |
| | | | | | llvm-svn: 80193 | ||||
| * | Sketch TargetRegistry support for MCCodeEmitter abstract interface. | Daniel Dunbar | 2009-08-27 | 1 | -4/+27 |
| | | | | | | | - Of course, nothing actually can provide this interface yet. llvm-svn: 80188 | ||||
| * | Try to make MSVC just a little happier. | Daniel Dunbar | 2009-08-27 | 1 | -2/+2 |
| | | | | | llvm-svn: 80187 | ||||

