]> granicus.if.org Git - clang/commit
CodeGen: fix section names for different file formats
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 3 Jun 2017 16:18:09 +0000 (16:18 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 3 Jun 2017 16:18:09 +0000 (16:18 +0000)
commit4957517b0b85f04c65a8424bc01fdbabe6cc440c
tree5740e63e7d8419d51a9518c851a83396640577a9
parentb68f6e78447bf12c725c831cbbf93a2fc9c444d1
CodeGen: fix section names for different file formats

This changes the codegen to match the section names according to the
ObjC rewriter as well as the runtime.  The changes to the test are
simply whitespace changes to the section attributes and names and are
functionally equivalent (the whitespace is ignored by the linker).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/exceptions-asm-attribute.m
test/CodeGenObjC/image-info.m
test/CodeGenObjC/metadata-symbols-64.m
test/CodeGenObjC/metadata_symbols.m
test/CodeGenObjC/non-lazy-classes.m
test/CodeGenObjC/sections.m [new file with mode: 0644]