[all-commits] [llvm/llvm-project] bccdf9: Revert "[lld-macho] Work around odr-use of const n...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Aug 6 16:44:27 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bccdf9197b6d647ccf5bbc86b25e29278aebc4e5
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp

  Log Message:
  Revert "[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298"

This reverts commit 20b2d3260d4a1878ca2a37cee6ee335a21a12d0f.
The workaround is no longer needed for C++17.

More information about the All-commits mailing list