summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoDarwin.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* add a bool for whether .lcomm takes an alignment instead of basing this on ↵Chris Lattner2010-01-191-0/+1
| | | | | | "isdarwin". llvm-svn: 93852
* move production of .reference directives for static ctor/dtor list onChris Lattner2010-01-191-0/+1
| | | | | | darwin into common code. llvm-svn: 93849
* Cleanup handling of .zerofill on darwin:Chris Lattner2010-01-191-1/+1
| | | | | | | | | | | | | 1. TargetLoweringObjectFileMachO should decide if something goes in zerofill instead of having every target do it. 2. TargetLoweringObjectFileMachO should assign said symbols to the right MCSection, the asmprinters should just emit to the right section. 3. Since all zerofill stuff goes through mcstreamer anymore, MAI can have a bool "haszerofill" instead of having the textual directive to emit. llvm-svn: 93838
* Big change #1 for personality function references:Chris Lattner2009-09-161-2/+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
* remove MAI::JumpTableSpecialLabelPrefix now that MAI Chris Lattner2009-09-131-6/+0
| | | | | | has real information about linker private linkage. llvm-svn: 81695
* Revert last patch. We need to put this into TargetLowering. There will be a lotBill Wendling2009-08-251-1/+0
| | | | | | of EH stuff going into there, so we can wait to add them all then. llvm-svn: 80036
* Add a target asm info hook to specify that particular bits of data in the FDEBill Wendling2009-08-251-0/+1
| | | | | | | | | | should be forced to 32-bits (.long) even on 64-bit architectures. Darwin wants these bits to be 64-bits (.quad). However, other platforms may disagree. This is just the info right now and is part of a work-in-progress which needs this. We'll add the actual *use* of this soon. llvm-svn: 80024
* rename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin.Chris Lattner2009-08-221-1/+1
| | | | llvm-svn: 79773
* move the MCAsmInfo .cpp/.h files into the right Chris Lattner2009-08-221-0/+59
directories and rename them. llvm-svn: 79768
OpenPOWER on IntegriCloud