Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added support in MC for Directional Local Labels. | Kevin Enderby | 2010-05-17 | 1 | -0/+45 | |
| | | | | llvm-svn: 103989 | |||||
* | add COFF support for COMDAT sections, patch by Nathan Jeffords! | Chris Lattner | 2010-05-07 | 1 | -4/+7 | |
| | | | | llvm-svn: 103304 | |||||
* | switch MCSectionCOFF from a syntactic to semantic representation, | Chris Lattner | 2010-05-07 | 1 | -1/+20 | |
| | | | | | | patch by Peter Housel! llvm-svn: 103267 | |||||
* | move elf section uniquing to MCContext. Along the way | Chris Lattner | 2010-04-08 | 1 | -2/+26 | |
| | | | | | | merge XCore's section into MCSectionELF llvm-svn: 100812 | |||||
* | move macho section uniquing from MCParser and TLOF to MCContext where | Chris Lattner | 2010-04-08 | 1 | -2/+46 | |
| | | | | | | | the compiler and asmparser now unique to the same sections. This fixes rdar://7835021. llvm-svn: 100807 | |||||
* | Rip out the 'is temporary' nonsense from the MCContext interface to | Chris Lattner | 2010-03-30 | 1 | -12/+8 | |
| | | | | | | | | | create symbols. It is extremely error prone and a source of a lot of the remaining integrated assembler bugs on x86-64. This fixes rdar://7807601. llvm-svn: 99902 | |||||
* | fix GetOrCreateTemporarySymbol to require a name, clients | Chris Lattner | 2010-03-17 | 1 | -11/+0 | |
| | | | | | | | should use CreateTempSymbol() if they don't care about the name. llvm-svn: 98712 | |||||
* | fix a memory leak yjasskin pointed out: MCSymbol is bump pointer | Chris Lattner | 2010-03-15 | 1 | -10/+14 | |
| | | | | | | | | | | allocated and thus not freed. This is cool except that it contains and std::string so the string data didn't get freed. In any case there is no reason to redundantly store the string data in the MCSymbol anyway, just make the MCSymbol ref the string data in the MCContext StringMap. llvm-svn: 98536 | |||||
* | add a new CreateTempSymbol method, the use case for | Chris Lattner | 2010-03-14 | 1 | -0/+6 | |
| | | | | | | | CreateTempSymbol vs GetOrCreateTemporarySymbol are completely different. llvm-svn: 98486 | |||||
* | enhance MCContext::GetOrCreateTemporarySymbol() to create a new symbol | Chris Lattner | 2010-03-11 | 1 | -0/+6 | |
| | | | | | | with an arbitrary unique name. llvm-svn: 98294 | |||||
* | change MCContext to always have an MCAsmInfo. | Chris Lattner | 2010-03-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 98293 | |||||
* | empty symbols aren't possible, the mcsymbol ctor aborts on them. | Chris Lattner | 2010-03-11 | 1 | -4/+0 | |
| | | | | llvm-svn: 98288 | |||||
* | Remove unneeded includes. | Daniel Dunbar | 2010-03-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 98167 | |||||
* | eliminate MCContext::CreateSymbol and CreateTemporarySymbol. | Chris Lattner | 2010-03-10 | 1 | -11/+10 | |
| | | | | | | | Add a new GetOrCreateTemporarySymbol method and a version that takes a twine. llvm-svn: 98118 | |||||
* | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 1 | -4/+4 | |
| | | | | llvm-svn: 86251 | |||||
* | add a twine version of MCContext::GetOrCreateSymbol. | Chris Lattner | 2009-10-19 | 1 | -1/+9 | |
| | | | | llvm-svn: 84561 | |||||
* | MC: Switch MCContext value table to storing MCExprs. | Daniel Dunbar | 2009-10-16 | 1 | -17/+0 | |
| | | | | llvm-svn: 84228 | |||||
* | llvm-mc/Mach-O: Don't put assembler temporary labels in the symbol table. | Daniel Dunbar | 2009-08-26 | 1 | -1/+0 | |
| | | | | | | | | - I moved section creation back into AsmParser. I think policy decisions like this should be pushed higher, not lower, when possible (in addition the assembler has flags which change this behavior, for example). llvm-svn: 80162 | |||||
* | llvm-mc: Change MCContext value table to take const MCSymbol*s. | Daniel Dunbar | 2009-08-26 | 1 | -4/+4 | |
| | | | | llvm-svn: 80079 | |||||
* | sink uniquing of sections out of MCContext into the ELF and PECOFF TLOF ↵ | Chris Lattner | 2009-08-13 | 1 | -5/+0 | |
| | | | | | | | | implementations. MCContext no longer maintains a string -> section map. llvm-svn: 78874 | |||||
* | add some comments: MCContext owns the MCSections, but it bump pointer allocates | Chris Lattner | 2009-08-13 | 1 | -0/+2 | |
| | | | | | | them, so it doesn't have to explicitly free them. llvm-svn: 78870 | |||||
* | split MCSection stuff out to its own .cpp file, add a new | Chris Lattner | 2009-07-31 | 1 | -12/+0 | |
| | | | | | | MCSectionWithKind subclass of MCSection. llvm-svn: 77684 | |||||
* | create sections with MCSection::Create instead of Context->getOrCreateSection. | Chris Lattner | 2009-07-31 | 1 | -8/+15 | |
| | | | | | | This is needed to allow polymorphic sections. llvm-svn: 77680 | |||||
* | Move MCContext and friends to StringRef based APIs. | Daniel Dunbar | 2009-07-27 | 1 | -6/+6 | |
| | | | | llvm-svn: 77251 | |||||
* | We decided to not worry about Atoms for now, it should be straightforward to | Daniel Dunbar | 2009-06-24 | 1 | -17/+6 | |
| | | | | | | | | reintroduce them later. Also, don't require MCSection* when creating a symbol. llvm-svn: 74081 | |||||
* | add trivial support for passing label definitions through the MCStreamer. | Chris Lattner | 2009-06-24 | 1 | -0/+14 | |
| | | | | | | | This is suboptimal in several aspects, see the commented out assertion. I need to talk to Daniel about this. llvm-svn: 74057 | |||||
* | Start MCAsmStreamer implementation. | Daniel Dunbar | 2009-06-24 | 1 | -5/+5 | |
| | | | | llvm-svn: 74044 | |||||
* | Update for MCImm -> MCValue rename. | Daniel Dunbar | 2009-06-23 | 1 | -5/+5 | |
| | | | | llvm-svn: 74024 | |||||
* | Start flushing out MCContext. | Daniel Dunbar | 2009-06-23 | 1 | -0/+77 | |
- Lives inside new library lib/MC (LLVMMC.a) llvm-svn: 74013 |