[all-commits] [llvm/llvm-project] d672d5: Revert "[CodeGenModule] Set dso_local for Mach-O G...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Wed Mar 17 17:28:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d672d5219a72d2e13dcc257116876d41955e36b2
      https://github.com/llvm/llvm-project/commit/d672d5219a72d2e13dcc257116876d41955e36b2
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/CodeGen/attr-weak-import.c
    M clang/test/CodeGenCXX/bitfield-layout.cpp
    M clang/test/CodeGenCXX/const-init.cpp
    M clang/test/CodeGenCXX/linkage.cpp
    M clang/test/CodeGenCXX/temporaries.cpp
    M clang/test/CodeGenCXX/type_visibility.cpp
    M clang/test/CodeGenCXX/visibility.cpp

  Log Message:
  -----------
  Revert "[CodeGenModule] Set dso_local for Mach-O GlobalValue"

This reverts commit 809a1e0ffd7af40ee27270ff8ba2ffc927330e71.

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

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




More information about the All-commits mailing list