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
Showing
- lib/CodeGen/CGObjCMac.cpp 49 additions, 16 deletionslib/CodeGen/CGObjCMac.cpp
- test/CodeGenObjC/exceptions-asm-attribute.m 2 additions, 2 deletionstest/CodeGenObjC/exceptions-asm-attribute.m
- test/CodeGenObjC/image-info.m 2 additions, 2 deletionstest/CodeGenObjC/image-info.m
- test/CodeGenObjC/metadata-symbols-64.m 8 additions, 8 deletionstest/CodeGenObjC/metadata-symbols-64.m
- test/CodeGenObjC/metadata_symbols.m 2 additions, 2 deletionstest/CodeGenObjC/metadata_symbols.m
- test/CodeGenObjC/non-lazy-classes.m 2 additions, 2 deletionstest/CodeGenObjC/non-lazy-classes.m
- test/CodeGenObjC/sections.m 72 additions, 0 deletionstest/CodeGenObjC/sections.m
Loading
Please register or sign in to comment