Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert r89803. | Devang Patel | 2009-11-25 | 1 | -3/+0 |
| | | | | llvm-svn: 89819 | ||||
* | Enable debug info for ppc-darwin. | Devang Patel | 2009-11-24 | 1 | -0/+3 |
| | | | | llvm-svn: 89803 | ||||
* | Big change #1 for personality function references: | Chris Lattner | 2009-09-16 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | eliminate the PPC backend's implementation of EmitExternalGlobal | Chris Lattner | 2009-09-16 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | and use PersonalityPrefix/Suffix to achieve the same effect (like the x86 backend). This changes the code generated for ppc static mode, but guess what, we were generating this before: .byte 0x9B ; Personality (indirect pcrel sdata4) .long ___gxx_personality_v0-. ; Personality which is not correct! (it is not an 'indirect' reference). llvm-svn: 81965 | ||||
* | rename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin. | Chris Lattner | 2009-08-22 | 1 | -2/+2 |
| | | | | llvm-svn: 79773 | ||||
* | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -0/+58 |
llvm-svn: 79763 |