diff options
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r-- | lld/ELF/MarkLive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp index 36f994f2049..3e56ae09ed5 100644 --- a/lld/ELF/MarkLive.cpp +++ b/lld/ELF/MarkLive.cpp @@ -68,7 +68,7 @@ static void resolveReloc(InputSectionBase &Sec, RelT &Rel, B.Used = true; if (auto *SS = dyn_cast<SharedSymbol>(&B)) if (!SS->isWeak()) - SS->getFile<ELFT>()->IsNeeded = true; + SS->getFile<ELFT>().IsNeeded = true; if (auto *D = dyn_cast<Defined>(&B)) { auto *RelSec = dyn_cast_or_null<InputSectionBase>(D->Section); |