[PATCH] D146776: [llvm] Preliminary fat-lto-objects support
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 12:51:39 PDT 2023
paulkirth added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/EmbedBitcodePass.cpp:58
+
+ embedBufferInModule(M, MemoryBufferRef(Data, "ModuleData"), ".llvm.lto");
+
----------------
Also, while I'm not arguing that we shouldn't add `SHF_LLVM_LTO`, `embedBufferInModule` does mark it as `MD_exclude` https://github.com/llvm/llvm-project/blob/f1a040298381cdfc0657d5ecba231ebe6bbef61a/llvm/lib/Transforms/Utils/ModuleUtils.cpp#L375, which will eventually become SHF_EXCLUDE.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146776/new/
https://reviews.llvm.org/D146776
More information about the llvm-commits
mailing list