//===- Relocations.cpp ----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "Relocations.h" #include "InputChunks.h" #include "OutputSegment.h" #include "SymbolTable.h" #include "SyntheticSections.h" usingnamespacellvm; usingnamespacellvm::wasm; namespace lld::wasm { static bool requiresGOTAccess(const Symbol *sym) { … } static bool allowUndefined(const Symbol* sym) { … } static void reportUndefined(ObjFile *file, Symbol *sym) { … } static void addGOTEntry(Symbol *sym) { … } void scanRelocations(InputChunk *chunk) { … } } // namespace lld::wasm