#include "llvm/Object/SymbolicFile.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/COFFImportFile.h"
#include "llvm/Object/Error.h"
#include "llvm/Object/IRObjectFile.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include <memory>
usingnamespacellvm;
usingnamespaceobject;
namespace llvm {
class LLVMContext;
}
SymbolicFile::SymbolicFile(unsigned int Type, MemoryBufferRef Source)
: … { … }
SymbolicFile::~SymbolicFile() = default;
Expected<std::unique_ptr<SymbolicFile>>
SymbolicFile::createSymbolicFile(MemoryBufferRef Object, file_magic Type,
LLVMContext *Context, bool InitContent) { … }
bool SymbolicFile::isSymbolicFile(file_magic Type, const LLVMContext *Context) { … }