[PATCH] D129401: [libLTO] Set data-sections by default in libLTO for ELF and XCOFF.
wael yehia via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 07:27:03 PDT 2022
w2yehia added inline comments.
================
Comment at: llvm/lib/LTO/LTOCodeGenerator.cpp:351
+ llvm::Triple::ObjectFormatType ObjectFormat = Triple.getObjectFormat();
+ if (!codegen::getExplicitDataSections() &&
+ (ObjectFormat == llvm::Triple::ObjectFormatType::ELF ||
----------------
any reason we do this for ELF and XCOFF only?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129401/new/
https://reviews.llvm.org/D129401
More information about the llvm-commits
mailing list