summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/CFStrings.c
Commit message (Collapse)AuthorAgeFilesLines
* CodeGen: try harder to make the CFString structure RWSaleem Abdulrasool2016-07-291-10/+18
| | | | | | | | The previous change was insufficient to mark the content as read-write as the structure itself was marked constant. Adjust this and add tests to ensure that the section is marked appropriately as being read-write. llvm-svn: 277200
* CodeGen: tweak CFString section for COFF, ELFSaleem Abdulrasool2016-07-091-6/+6
| | | | | | | | | Place the structure data into `cfstring`. This both isolates the structures to permit coalescing in the future (by the linker) as well as ensures that it doesnt get marked as read-only data. The structures themselves are not read-only, only the string contents. llvm-svn: 274956
* test: add explicit targets for some testsSaleem Abdulrasool2016-05-301-0/+2
| | | | | | | These tests currently expect MachO section names and do not provide a target. Explicitly provide one. llvm-svn: 271212
* CodeGen: tweak CFConstantStrings for COFF and ELFSaleem Abdulrasool2016-05-301-0/+49
Adjust the constant CFString emission to emit into more appropriate sections on ELF and COFF targets. It would previously try to use MachO section names irrespective of the file format. llvm-svn: 271211
OpenPOWER on IntegriCloud