diff options
| author | Ben Dunbobbin <Ben.Dunbobbin@sony.com> | 2020-11-23 09:27:38 +0000 | 
|---|---|---|
| committer | Ben Dunbobbin <Ben.Dunbobbin@sony.com> | 2020-11-24 00:32:14 +0000 | 
| commit | e42021d5cc25a8dc7e3efac1e7007cc0c1a7b2bd (patch) | |
| tree | cab3d688fc563dc623ebc3d19cf8d5206005da8e /llvm/lib/Object/XCOFFObjectFile.cpp | |
| parent | 1b63177a56e8cd6196778d2b90295f03e96b5800 (diff) | |
| download | llvm-e42021d5cc25a8dc7e3efac1e7007cc0c1a7b2bd.zip llvm-e42021d5cc25a8dc7e3efac1e7007cc0c1a7b2bd.tar.gz llvm-e42021d5cc25a8dc7e3efac1e7007cc0c1a7b2bd.tar.bz2 | |
[Clang][-fvisibility-from-dllstorageclass] Set DSO Locality from final visibility
Ensure that the DSO Locality of the globals in the IR is derived from
their final visibility when using -fvisibility-from-dllstorageclass.
To accomplish this we reset the DSO locality of globals (before
setting their visibility from their dllstorageclass) at the end of
IRGen in Clang. This removes any effects that visibility options or
annotations may have had on the DSO locality.
The resulting DSO locality of the globals will be pessimistic
w.r.t. to the normal compiler IRGen.
Differential Revision: https://reviews.llvm.org/D91779
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
