summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoELF.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Compute the ELF SectionKind from the flags.Rafael Espindola2015-01-291-2/+1
| | | | | | | | | | | | Any code creating an MCSectionELF knows ELF and already provides the flags. SectionKind is an abstraction used by common code that uses a plain MCSection. Use the flags to compute the SectionKind. This removes a lot of guessing and boilerplate from the MCSectionELF construction. llvm-svn: 227476
* Allow target to specify prefix for labelsMatt Arsenault2014-12-041-0/+1
| | | | | | | | Use the MCAsmInfo instead of the DataLayout, and allow specifying a custom prefix for labels specifically. HSAIL requires that labels begin with @, but global symbols with &. llvm-svn: 223323
* Move getNonexecutableStackSection up to the base ELF class.Rafael Espindola2014-10-151-0/+9
| | | | | | The .note.GNU-stack section is not SystemZ/X86 specific. llvm-svn: 219796
* Refactor the setting of PrivateGlobalPrefix.Rafael Espindola2013-12-021-0/+1
| | | | | | No functionality change. llvm-svn: 196170
* Add a MCAsmInfoELF class and factor some code into it.Rafael Espindola2013-10-161-0/+23
We had a MCAsmInfoCOFF, but no common class for all the ELF MCAsmInfos before. llvm-svn: 192760
OpenPOWER on IntegriCloud