summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* remove MAI::ZeroDirectiveSuffix, which is only used by MASM,Chris Lattner2010-01-191-1/+0
| | | | | | which we don't support anymore. llvm-svn: 93886
* stop using the .lcomm pseudoop on darwin, instead, directly use theChris Lattner2010-01-191-1/+0
| | | | | | .zerofill directive. Streamerize its generation. llvm-svn: 93868
* hookize the cygwin ".linkonce" directive.Chris Lattner2010-01-191-0/+1
| | | | llvm-svn: 93855
* 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
* Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth2009-10-261-1/+1
| | | | | | direct inclusion edge from System to Support. llvm-svn: 85086
* Allow symbols to start from the digit if target requests it. This allows, ↵Anton Korobeynikov2009-09-181-0/+1
| | | | | | | | | 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 Lattner2009-09-161-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
* remove some horrible MAI hooks which fortunately turn out to be always empty.Chris Lattner2009-09-151-4/+0
| | | | llvm-svn: 81946
* remove MAI::JumpTableSpecialLabelPrefix now that MAI Chris Lattner2009-09-131-1/+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 the #include here.Bill Wendling2009-08-251-0/+1
| | | | llvm-svn: 80032
* 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 TAI -> MAI, being careful not to make MAILJMP instructions :)Chris Lattner2009-08-221-1/+1
| | | | llvm-svn: 79777
* move the MCAsmInfo .cpp/.h files into the right Chris Lattner2009-08-221-0/+113
directories and rename them. llvm-svn: 79768
OpenPOWER on IntegriCloud