aboutsummaryrefslogtreecommitdiff
path: root/lld/COFF/InputFiles.cpp
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2024-09-13 15:42:05 +0200
committerGitHub <noreply@github.com>2024-09-13 15:42:05 +0200
commit6be9be5e0b4ba9d561dc005bea4eace40b53510d (patch)
tree4f0964545d92581ed780559b7c81a67e8bb8fe94 /lld/COFF/InputFiles.cpp
parentc34aca8ddc214b2ade997085e56689378ef1a8d0 (diff)
downloadllvm-6be9be5e0b4ba9d561dc005bea4eace40b53510d.tar.gz
llvm-6be9be5e0b4ba9d561dc005bea4eace40b53510d.tar.bz2
llvm-6be9be5e0b4ba9d561dc005bea4eace40b53510d.zip
[LLD][COFF][NFC] Store live flag in ImportThunkChunk. (#108459)
Instead of ImportFile. This is a preparation for ARM64EC support, which has both x86 and ARM64EC thunks and each of them needs a separate flag.
Diffstat (limited to 'lld/COFF/InputFiles.cpp')
-rw-r--r--lld/COFF/InputFiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/InputFiles.cpp b/lld/COFF/InputFiles.cpp
index 569220468e96..ee39b4662444 100644
--- a/lld/COFF/InputFiles.cpp
+++ b/lld/COFF/InputFiles.cpp
@@ -1002,7 +1002,7 @@ void ObjFile::enqueuePdbFile(StringRef path, ObjFile *fromFile) {
}
ImportFile::ImportFile(COFFLinkerContext &ctx, MemoryBufferRef m)
- : InputFile(ctx, ImportKind, m), live(!ctx.config.doGC), thunkLive(live) {}
+ : InputFile(ctx, ImportKind, m), live(!ctx.config.doGC) {}
MachineTypes ImportFile::getMachineType() const {
uint16_t machine =