#include "LTO.h"
#include "COFFLinkerContext.h"
#include "Config.h"
#include "InputFiles.h"
#include "Symbols.h"
#include "lld/Common/Args.h"
#include "lld/Common/CommonLinkerContext.h"
#include "lld/Common/Filesystem.h"
#include "lld/Common/Strings.h"
#include "lld/Common/TargetOptionsCommandFlags.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/LTO/Config.h"
#include "llvm/LTO/LTO.h"
#include "llvm/Object/SymbolicFile.h"
#include "llvm/Support/Caching.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstddef>
#include <memory>
#include <string>
#include <system_error>
#include <vector>
usingnamespacellvm;
usingnamespacellvm::object;
usingnamespacelld;
usingnamespacelld::coff;
std::string BitcodeCompiler::getThinLTOOutputFile(StringRef path) { … }
lto::Config BitcodeCompiler::createConfig() { … }
BitcodeCompiler::BitcodeCompiler(COFFLinkerContext &c) : … { … }
BitcodeCompiler::~BitcodeCompiler() = default;
static void undefine(Symbol *s) { … }
void BitcodeCompiler::add(BitcodeFile &f) { … }
std::vector<InputFile *> BitcodeCompiler::compile() { … }