]> granicus.if.org Git - llvm/commit
Handle local commons for XCOFF object file writing
authorJason Liu <jasonliu.development@gmail.com>
Tue, 27 Aug 2019 15:14:45 +0000 (15:14 +0000)
committerJason Liu <jasonliu.development@gmail.com>
Tue, 27 Aug 2019 15:14:45 +0000 (15:14 +0000)
commita080e2039a924c8a938e9c33fbf43bc7d00b41e5
treef3aeb0a793202356cf0f7d88d36b6186bc679d87
parenta1e1149e9ead0f51ad4b0d8807149509281e3a8f
Handle local commons for XCOFF object file writing

Summary:
Adds support for emitting common local global symbols to an XCOFF object file.
Local commons are emitted into the .bss section with a storage class of
C_HIDEXT.

Patch by: daltenty

Reviewers: sfertile, hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D66097

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370070 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCXCOFFStreamer.cpp
lib/MC/XCOFFObjectWriter.cpp
test/CodeGen/PowerPC/aix-xcoff-lcomm.ll