[all-commits] [llvm/llvm-project] 20b2d3: [lld-macho] Work around odr-use of const non-inlin...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Jun 21 19:22:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20b2d3260d4a1878ca2a37cee6ee335a21a12d0f
https://github.com/llvm/llvm-project/commit/20b2d3260d4a1878ca2a37cee6ee335a21a12d0f
Author: Fangrui Song <i at maskray.me>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M lld/MachO/SyntheticSections.cpp
Log Message:
-----------
[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298
```
ld.lld: error: undefined symbol: lld::macho::CodeSignatureSection::blockSize
>>> referenced by SyntheticSections.cpp:1253 (/home/maskray/llvm/lld/MachO/SyntheticSections.cpp:1253)
>>> tools/lld/MachO/CMakeFiles/lldMachO.dir/SyntheticSections.cpp.o:(lld::macho::CodeSignatureSection::writeHashes(unsigned char*) const::$_7::operator()(unsigned long) const)
```
More information about the All-commits
mailing list