Home | History | Annotate | Download | only in Object

Lines Matching defs:Binary

1 //===- Binary.cpp - A generic binary file -----------------------*- C++ -*-===//
10 // This file defines the Binary class.
14 #include "llvm/Object/Binary.h"
28 Binary::~Binary() {}
30 Binary::Binary(unsigned int Type, std::unique_ptr<MemoryBuffer> Source)
33 StringRef Binary::getData() const {
37 StringRef Binary::getFileName() const {
41 ErrorOr<Binary *> object::createBinary(std::unique_ptr<MemoryBuffer> &Buffer,
74 llvm_unreachable("Unexpected Binary File Type");
77 ErrorOr<Binary *> object::createBinary(StringRef Path) {