[flang-commits] [flang] [flang][OpenMP] Move lowering of ATOMIC to separate file, NFC (PR #146225)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Sat Jun 28 11:38:02 PDT 2025
kparzysz wrote:
Another workaround was to move SymbolBox::dump and SymMap::dump out of line.
Before that tco and fir-opt failed to link because the inline definitions generated references to the operator<<, whose definitions were not linked in. E.g.
```
ld.lld: error: undefined symbol: Fortran::lower::operator<<(llvm::raw_ostream&, Fortran::lower::SymbolBox const&)
>>> referenced by SymbolMap.h:131 (/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/SymbolMap.h:131)
>>> LowerHLFIRIntrinsics.cpp.o:(Fortran::lower::SymbolBox::dump() const) in archive lib/libHLFIRTransforms.a
```
https://github.com/llvm/llvm-project/pull/146225
More information about the flang-commits
mailing list