#include "bolt/RuntimeLibs/RuntimeLibrary.h"
#include "bolt/Core/Linker.h"
#include "bolt/RuntimeLibs/RuntimeLibraryVariables.inc"
#include "bolt/Utils/Utils.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/Path.h"
#define DEBUG_TYPE …
usingnamespacellvm;
usingnamespacebolt;
void RuntimeLibrary::anchor() { … }
std::string RuntimeLibrary::getLibPathByToolPath(StringRef ToolPath,
StringRef LibFileName) { … }
std::string RuntimeLibrary::getLibPathByInstalled(StringRef LibFileName) { … }
std::string RuntimeLibrary::getLibPath(StringRef ToolPath,
StringRef LibFileName) { … }
void RuntimeLibrary::loadLibrary(StringRef LibPath, BOLTLinker &Linker,
BOLTLinker::SectionsMapper MapSections) { … }