[PATCH] D98458: Revert "[CodeGenModule] Set dso_local for Mach-O GlobalValue"

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 11 14:57:54 PST 2021


arphaman created this revision.
arphaman added reviewers: davide, MaskRay.
Herald added subscribers: ributzka, jkorous.
arphaman requested review of this revision.
Herald added a project: clang.

This reverts commit 809a1e0ffd7af40ee27270ff8ba2ffc927330e71 <https://reviews.llvm.org/rG809a1e0ffd7af40ee27270ff8ba2ffc927330e71>.

      

Mach-O doesn't support dso_local and this change broke XNU because of the use of dso_local.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98458

Files:
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/test/CodeGenCXX/const-init.cpp
  clang/test/CodeGenCXX/linkage.cpp
  clang/test/CodeGenCXX/type_visibility.cpp
  clang/test/CodeGenCXX/visibility.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98458.330077.patch
Type: text/x-patch
Size: 13870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210311/82762ad5/attachment.bin>


More information about the cfe-commits mailing list