From e8fd49f24b0dd8896b9789d7841bd962d0cb410c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 22 Jul 2022 11:54:27 -0700 Subject: [PATCH] [ELF] --fortran-common: remove unneeded identify_magic call. NFC --- lld/ELF/InputFiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index b56dd1a..c0076a3 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -1756,7 +1756,7 @@ template void ObjFile::parseLazy() { } bool InputFile::shouldExtractForCommon(StringRef name) { - if (isBitcode(mb)) + if (isa(this)) return isBitcodeNonCommonDef(mb, name, archiveName); return isNonCommonDef(mb, name, archiveName); -- 2.7.4