summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/global-sections-comdat.ll
Commit message (Collapse)AuthorAgeFilesLines
* Implement unique sections with an unique ID.Rafael Espindola2015-04-041-1/+0
| | | | | | | | | | | This allows the compiler/assembly programmer to switch back to a section. This in turn fixes the bootstrap failure on powerpc (tested on gcc110) without changing the ppc codegen at all. I will try to cleanup the various getELFSection overloads in a followup patch. Just using a default argument now would lead to ambiguities. llvm-svn: 234099
* Close unique sections when switching away from them.Rafael Espindola2015-03-271-0/+1
| | | | | | | It is not possible to switch back to unique secitons, so close them automatically when switching away. llvm-svn: 233380
* Support SHF_MERGE sections in COMDATs.Rafael Espindola2015-02-251-3/+3
| | | | | | | | | | | | This patch unifies the comdat and non-comdat code paths. By doing this it add missing features to the comdat side and removes the fixed section assumptions from the non-comdat side. In ELF there is no one true section for "4 byte mergeable" constants. We are better off computing the required properties of the section and asking the context for it. llvm-svn: 230411
* Use short names for jumptable sections.Rafael Espindola2015-02-201-0/+7
| | | | | | Also refactor code to remove some duplication. llvm-svn: 230087
* Put each jump table in an independent section if the function is too.Rafael Espindola2015-02-121-1/+32
| | | | | | This allows the linker to GC both, fixing pr22557. llvm-svn: 228937
* Don' try to make sections in comdats SHF_MERGE.Rafael Espindola2015-02-041-0/+8
Parts of llvm were not expecting it and we wouldn't print the entity size of the section. Given what comdats are used for, having SHF_MERGE sections would be just a small improvement, so just disable it for now. Fixes pr22463. llvm-svn: 228196
OpenPOWER on IntegriCloud