[lld] [LLD][COFF][NFC] Store live flag in ImportThunkChunk. (PR #108459)
Jacek Caban via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 05:08:01 PDT 2024
================
@@ -774,6 +774,10 @@ void StringChunk::writeTo(uint8_t *buf) const {
buf[str.size()] = '\0';
}
+ImportThunkChunk::ImportThunkChunk(COFFLinkerContext &ctx, Defined *s)
+ : NonSectionCodeChunk(ImportThunkKind), live(!ctx.config.doGC),
----------------
cjacek wrote:
Yes, that was the reason.
https://github.com/llvm/llvm-project/pull/108459
More information about the llvm-commits
mailing list