Ah! When I try to add that, though, I get this huge error message:
Undefined symbols for architecture arm64:
"lld::DWARFCache::getDILineInfo(unsigned long long, unsigned long long)", referenced from:
lld::elf::InputFile::getSrcMsg(lld::elf::Symbol const&, lld::elf::InputSectionBase&, unsigned long long) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)1, false> >::getDILineInfo(lld::elf::InputSectionBase*, unsigned long long) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)0, false> >::getDILineInfo(lld::elf::InputSectionBase*, unsigned long long) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::getDILineInfo(lld::elf::InputSectionBase*, unsigned long long) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)0, true> >::getDILineInfo(lld::elf::InputSectionBase*, unsigned long long) in liblldElf.a(InputFiles.cpp.o)
"lld::DWARFCache::getVariableLoc(llvm::StringRef)", referenced from:
lld::elf::InputFile::getSrcMsg(lld::elf::Symbol const&, lld::elf::InputSectionBase&, unsigned long long) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)1, false> >::getVariableLoc(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)0, false> >::getVariableLoc(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::getVariableLoc(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)0, true> >::getVariableLoc(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
"lld::DWARFCache::DWARFCache(std::__1::unique_ptr<llvm::DWARFContext, std::__1::default_delete<llvm::DWARFContext> >)", referenced from:
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)1, false> >::getDwarf()::'lambda'()::operator()() const in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)0, false> >::getDwarf()::'lambda'()::operator()() const in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::getDwarf()::'lambda'()::operator()() const in liblldElf.a(InputFiles.cpp.o)
lld::elf::ObjFile<llvm::object::ELFType<(llvm::support::endianness)0, true> >::getDwarf()::'lambda'()::operator()() const in liblldElf.a(InputFiles.cpp.o)
"lld::checkError(llvm::Error)", referenced from:
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
lld::elf::BitcodeCompiler::add(lld::elf::BitcodeFile&) in liblldElf.a(LTO.cpp.o)
lld::elf::BitcodeCompiler::compile() in liblldElf.a(LTO.cpp.o)
"lld::errorCount()", referenced from:
lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::createFiles(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::readLinkerScript(llvm::MemoryBufferRef) in liblldElf.a(ScriptParser.cpp.o)
lld::elf::readDefsym(llvm::StringRef, llvm::MemoryBufferRef) in liblldElf.a(ScriptParser.cpp.o)
(anonymous namespace)::ScriptParser::readInput() in liblldElf.a(ScriptParser.cpp.o)
...
"lld::saveBuffer(llvm::StringRef, llvm::Twine const&)", referenced from:
lld::elf::BitcodeCompiler::compile() in liblldElf.a(LTO.cpp.o)
"lld::unlinkAsync(llvm::StringRef)", referenced from:
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(Writer.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)0, false> >() in liblldElf.a(Writer.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)1, true> >() in liblldElf.a(Writer.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)0, true> >() in liblldElf.a(Writer.cpp.o)
"lld::ErrorHandler::initialize(llvm::raw_ostream&, llvm::raw_ostream&, bool, bool)", referenced from:
lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) in liblldElf.a(Driver.cpp.o)
"lld::errorHandler()", referenced from:
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(Writer.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)0, false> >() in liblldElf.a(Writer.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)1, true> >() in liblldElf.a(Writer.cpp.o)
void lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)0, true> >() in liblldElf.a(Writer.cpp.o)
"lld::commonContext()", referenced from:
lld::elf::LinkerDriver::addLibrary(llvm::StringRef) in liblldElf.a(Driver.cpp.o)
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::createCommentSection() in liblldElf.a(SyntheticSections.cpp.o)
lld::elf::createInterpSection() in liblldElf.a(SyntheticSections.cpp.o)
lld::elf::readFile(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
lld::elf::BitcodeFile::BitcodeFile(llvm::MemoryBufferRef, llvm::StringRef, unsigned long long, bool) in liblldElf.a(InputFiles.cpp.o)
...
"lld::getLLDVersion()", referenced from:
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::createCommentSection() in liblldElf.a(SyntheticSections.cpp.o)
"lld::tryCreateFile(llvm::StringRef)", referenced from:
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
"lld::relativeToRoot(llvm::StringRef)", referenced from:
getArchiveMembers(llvm::MemoryBufferRef) in liblldElf.a(Driver.cpp.o)
lld::elf::readFile(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
lld::elf::createResponseFile(llvm::opt::InputArgList const&) in liblldElf.a(DriverUtils.cpp.o)
"lld::SpecificAllocBase::getOrCreate(void*, unsigned long, unsigned long, lld::SpecificAllocBase* (&)(void*))", referenced from:
lld::elf::LinkerDriver::addFile(llvm::StringRef, bool) in liblldElf.a(Driver.cpp.o)
lld::elf::BinaryFile* lld::make<lld::elf::BinaryFile, llvm::MemoryBufferRef&>(llvm::MemoryBufferRef&) in liblldElf.a(Driver.cpp.o)
lld::elf::BitcodeFile* lld::make<lld::elf::BitcodeFile, llvm::MemoryBufferRef const&, llvm::StringRef&, unsigned long long const&, bool>(llvm::MemoryBufferRef const&, llvm::StringRef&, unsigned long long const&, bool&&) in liblldElf.a(Driver.cpp.o)
lld::elf::BitcodeFile* lld::make<lld::elf::BitcodeFile, llvm::MemoryBufferRef&, char const (&) [1], int, bool&>(llvm::MemoryBufferRef&, char const (&) [1], int&&, bool&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::BssSection* lld::make<lld::elf::BssSection, char const (&) [7], unsigned long long&, unsigned int&>(char const (&) [7], unsigned long long&, unsigned int&) in liblldElf.a(Driver.cpp.o)
lld::elf::createCommentSection() in liblldElf.a(SyntheticSections.cpp.o)
...
"lld::diagnosticHandler(llvm::DiagnosticInfo const&)", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::isValidCIdentifier(llvm::StringRef)", referenced from:
(anonymous namespace)::Writer<llvm::object::ELFType<(llvm::support::endianness)1, false> >::finalizeSections() in liblldElf.a(Writer.cpp.o)
(anonymous namespace)::Writer<llvm::object::ELFType<(llvm::support::endianness)0, false> >::finalizeSections() in liblldElf.a(Writer.cpp.o)
(anonymous namespace)::Writer<llvm::object::ELFType<(llvm::support::endianness)1, true> >::finalizeSections() in liblldElf.a(Writer.cpp.o)
(anonymous namespace)::Writer<llvm::object::ELFType<(llvm::support::endianness)0, true> >::finalizeSections() in liblldElf.a(Writer.cpp.o)
isEligible(lld::elf::InputSection*) in liblldElf.a(ICF.cpp.o)
void lld::elf::markLive<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(MarkLive.cpp.o)
void lld::elf::markLive<llvm::object::ELFType<(llvm::support::endianness)0, false> >() in liblldElf.a(MarkLive.cpp.o)
...
"lld::CommonLinkerContext::CommonLinkerContext()", referenced from:
lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) in liblldElf.a(Driver.cpp.o)
"lld::SingleStringMatcher::SingleStringMatcher(llvm::StringRef)", referenced from:
(anonymous namespace)::ScriptParser::readOutputSectionDescription(llvm::StringRef) in liblldElf.a(ScriptParser.cpp.o)
(anonymous namespace)::ScriptParser::readInputSectionRules(llvm::StringRef, unsigned long long, unsigned long long) in liblldElf.a(ScriptParser.cpp.o)
(anonymous namespace)::ScriptParser::readInputSectionsList() in liblldElf.a(ScriptParser.cpp.o)
lld::StringMatcher::StringMatcher(llvm::StringRef) in liblldElf.a(ScriptParser.cpp.o)
lld::elf::SymbolTable::findAllByVersion(lld::elf::SymbolVersion, bool) in liblldElf.a(SymbolTable.cpp.o)
lld::elf::InputSectionDescription* lld::make<lld::elf::InputSectionDescription, char const (&) [1]>(char const (&) [1]) in liblldElf.a(OutputSections.cpp.o)
lld::elf::InputSectionDescription* lld::make<lld::elf::InputSectionDescription, char const (&) [1]>(char const (&) [1]) in liblldElf.a(Relocations.cpp.o)
...
"lld::getCodeModelFromCMModel()", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::getRelocModelFromCMModel()", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::initTargetOptionsFromCodeGenFlags()", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::log(llvm::Twine const&)", referenced from:
lld::elf::RelrSection<llvm::object::ELFType<(llvm::support::endianness)1, false> >::updateAllocSize() in liblldElf.a(SyntheticSections.cpp.o)
lld::elf::RelrSection<llvm::object::ELFType<(llvm::support::endianness)0, false> >::updateAllocSize() in liblldElf.a(SyntheticSections.cpp.o)
lld::elf::RelrSection<llvm::object::ELFType<(llvm::support::endianness)1, true> >::updateAllocSize() in liblldElf.a(SyntheticSections.cpp.o)
lld::elf::RelrSection<llvm::object::ELFType<(llvm::support::endianness)0, true> >::updateAllocSize() in liblldElf.a(SyntheticSections.cpp.o)
lld::elf::readFile(llvm::StringRef) in liblldElf.a(InputFiles.cpp.o)
lld::elf::LinkerScript::processSectionCommands() in liblldElf.a(LinkerScript.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(ICF.cpp.o)
...
"lld::args::getInteger(llvm::opt::InputArgList&, unsigned int, long long)", referenced from:
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
"lld::args::getStrings(llvm::opt::InputArgList&, int)", referenced from:
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
"lld::args::getCGOptLevel(int)", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::args::getZOptionValue(llvm::opt::InputArgList&, int, llvm::StringRef, unsigned long long)", referenced from:
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
"lld::args::getFilenameWithoutExe(llvm::StringRef)", referenced from:
lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) in liblldElf.a(Driver.cpp.o)
"lld::args::getLines(llvm::MemoryBufferRef)", referenced from:
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
"lld::errs()", referenced from:
lld::elf::ELFOptTable::parse(llvm::ArrayRef<char const*>) in liblldElf.a(DriverUtils.cpp.o)
"lld::outs()", referenced from:
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::parseFile(lld::elf::InputFile*) in liblldElf.a(InputFiles.cpp.o)
lld::elf::printHelp() in liblldElf.a(DriverUtils.cpp.o)
lld::elf::printTraceSymbol(lld::elf::Symbol const&, llvm::StringRef) in liblldElf.a(Symbols.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(ICF.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)0, false> >() in liblldElf.a(ICF.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)1, true> >() in liblldElf.a(ICF.cpp.o)
...
"lld::warn(llvm::Twine const&)", referenced from:
lld::elf::errorOrWarn(llvm::Twine const&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::addFile(llvm::StringRef, bool) in liblldElf.a(Driver.cpp.o)
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
readAddressAreas(llvm::DWARFContext&, lld::elf::InputSection*) in liblldElf.a(SyntheticSections.cpp.o)
void llvm::function_ref<void (llvm::Error)>::callback_fn<llvm::SmallVector<lld::elf::GdbIndexSection::NameAttrEntry, 0u> readPubNamesAndTypes<llvm::object::ELFType<(llvm::support::endianness)1, false> >(lld::elf::LLDDwarfObj<llvm::object::ELFType<(llvm::support::endianness)1, false> > const&, llvm::SmallVectorImpl<lld::elf::GdbIndexSection::CuEntry> const&)::'lambda'(llvm::Error)>(long, llvm::Error) in liblldElf.a(SyntheticSections.cpp.o)
...
"lld::error(llvm::Twine const&)", referenced from:
lld::elf::errorOrWarn(llvm::Twine const&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::addFile(llvm::StringRef, bool) in liblldElf.a(Driver.cpp.o)
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::createFiles(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::inferMachineType() in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
...
"lld::error(llvm::Twine const&, lld::ErrorTag, llvm::ArrayRef<llvm::StringRef>)", referenced from:
lld::elf::LinkerDriver::addLibrary(llvm::StringRef) in liblldElf.a(Driver.cpp.o)
reportUndefinedSymbol((anonymous namespace)::UndefinedDiag const&, bool) in liblldElf.a(Relocations.cpp.o)
"lld::fatal(llvm::Twine const&)", referenced from:
getArchiveMembers(llvm::MemoryBufferRef) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
std::__1::unique_ptr<llvm::object::Archive, std::__1::default_delete<llvm::object::Archive> > lld::check2<std::__1::unique_ptr<llvm::object::Archive, std::__1::default_delete<llvm::object::Archive> > >(llvm::Expected<std::__1::unique_ptr<llvm::object::Archive, std::__1::default_delete<llvm::object::Archive> > >, llvm::function_ref<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>) in liblldElf.a(Driver.cpp.o)
llvm::MemoryBufferRef lld::check2<llvm::MemoryBufferRef>(llvm::Expected<llvm::MemoryBufferRef>, llvm::function_ref<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>) in liblldElf.a(Driver.cpp.o)
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > lld::check<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(llvm::Expected<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) in liblldElf.a(Driver.cpp.o)
llvm::CachePruningPolicy lld::check2<llvm::CachePruningPolicy>(llvm::Expected<llvm::CachePruningPolicy>, llvm::function_ref<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>) in liblldElf.a(Driver.cpp.o)
lld::elf::LinkerDriver::link(llvm::opt::InputArgList&)::$_5::operator()(lld::elf::InputSectionBase*) const in liblldElf.a(Driver.cpp.o)
...
"lld::quote(llvm::StringRef)", referenced from:
lld::elf::createResponseFile(llvm::opt::InputArgList const&) in liblldElf.a(DriverUtils.cpp.o)
"lld::message(llvm::Twine const&, llvm::raw_ostream&)", referenced from:
lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) in liblldElf.a(Driver.cpp.o)
lld::elf::parseFile(lld::elf::InputFile*) in liblldElf.a(InputFiles.cpp.o)
lld::elf::printTraceSymbol(lld::elf::Symbol const&, llvm::StringRef) in liblldElf.a(Symbols.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(ICF.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)0, false> >() in liblldElf.a(ICF.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)1, true> >() in liblldElf.a(ICF.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)0, true> >() in liblldElf.a(ICF.cpp.o)
...
"lld::parseHex(llvm::StringRef)", referenced from:
readConfigs(llvm::opt::InputArgList&) in liblldElf.a(Driver.cpp.o)
"lld::toString(llvm::opt::Arg const&)", referenced from:
lld::elf::createResponseFile(llvm::opt::InputArgList const&) in liblldElf.a(DriverUtils.cpp.o)
"lld::getCPUStr()", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::getMAttrs()", referenced from:
lld::elf::BitcodeCompiler::BitcodeCompiler() in liblldElf.a(LTO.cpp.o)
"lld::StringMatcher::match(llvm::StringRef) const", referenced from:
lld::elf::SectionPattern::excludesFile(lld::elf::InputFile const*) const in liblldElf.a(LinkerScript.cpp.o)
lld::elf::LinkerScript::shouldKeep(lld::elf::InputSectionBase*) in liblldElf.a(LinkerScript.cpp.o)
lld::elf::LinkerScript::computeInputSections(lld::elf::InputSectionDescription const*, llvm::ArrayRef<lld::elf::InputSectionBase*>) in liblldElf.a(LinkerScript.cpp.o)
"lld::SingleStringMatcher::match(llvm::StringRef) const", referenced from:
lld::elf::SymbolTable::findAllByVersion(lld::elf::SymbolVersion, bool) in liblldElf.a(SymbolTable.cpp.o)
lld::elf::InputSectionDescription::matchesFile(lld::elf::InputFile const*) const in liblldElf.a(LinkerScript.cpp.o)
lld::elf::LinkerScript::shouldKeep(lld::elf::InputSectionBase*) in liblldElf.a(LinkerScript.cpp.o)
lld::elf::LinkerScript::computeInputSections(lld::elf::InputSectionDescription const*, llvm::ArrayRef<lld::elf::InputSectionBase*>) in liblldElf.a(LinkerScript.cpp.o)
"_adler32", referenced from:
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)1, false> >()::'lambda'(unsigned long)::operator()(unsigned long) const in liblldElf.a(OutputSections.cpp.o)
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)0, false> >()::'lambda'(unsigned long)::operator()(unsigned long) const in liblldElf.a(OutputSections.cpp.o)
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)1, true> >()::'lambda'(unsigned long)::operator()(unsigned long) const in liblldElf.a(OutputSections.cpp.o)
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)0, true> >()::'lambda'(unsigned long)::operator()(unsigned long) const in liblldElf.a(OutputSections.cpp.o)
"_adler32_combine", referenced from:
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)1, false> >() in liblldElf.a(OutputSections.cpp.o)
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)0, false> >() in liblldElf.a(OutputSections.cpp.o)
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)1, true> >() in liblldElf.a(OutputSections.cpp.o)
void lld::elf::OutputSection::maybeCompress<llvm::object::ELFType<(llvm::support::endianness)0, true> >() in liblldElf.a(OutputSections.cpp.o)
"_deflate", referenced from:
deflateShard(llvm::ArrayRef<unsigned char>, int, int) in liblldElf.a(OutputSections.cpp.o)
"_deflateEnd", referenced from:
deflateShard(llvm::ArrayRef<unsigned char>, int, int) in liblldElf.a(OutputSections.cpp.o)
"_deflateInit2_", referenced from:
deflateShard(llvm::ArrayRef<unsigned char>, int, int) in liblldElf.a(OutputSections.cpp.o)
ld: symbol(s) not found for architecture arm64
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)