[flang-commits] [clang] [clang-tools-extra] [compiler-rt] [flang] [lld] [lldb] [llvm] [mlir] [openmp] Treewide C++26/2d fixes (PR #223284)
via flang-commits
flang-commits at lists.llvm.org
Sun Sep 27 17:25:25 PDT 2026
================
@@ -610,8 +610,8 @@ void ELFWriter::computeSymbolTable(const RevGroupMapTy &RevGroupMap) {
for (; FileNameIt != FileNames.end() && FileNameIt->second <= MSD.Order;
++FileNameIt) {
Writer.writeSymbol(StrTabBuilder.getOffset(FileNameIt->first),
- ELF::STT_FILE | ELF::STB_LOCAL, 0, 0, ELF::STV_DEFAULT,
- ELF::SHN_ABS, true);
+ llvm::to_underlying(ELF::STT_FILE) | llvm::to_underlying(ELF::STB_LOCAL), 0, 0,
+ ELF::STV_DEFAULT, ELF::SHN_ABS, true);
----------------
rdong8 wrote:
Real fix: https://github.com/llvm/llvm-project/pull/226834
https://github.com/llvm/llvm-project/pull/223284
More information about the flang-commits
mailing list