|
LLVM
3.7.0
|
#include "llvm/Object/MachO.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/ADT/Triple.h"#include "llvm/Support/DataExtractor.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Format.h"#include "llvm/Support/Host.h"#include "llvm/Support/LEB128.h"#include "llvm/Support/MachO.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/raw_ostream.h"#include <cctype>#include <cstring>#include <limits>Go to the source code of this file.
|
static |
Definition at line 103 of file MachOObjectFile.cpp.
Referenced by llvm::DwarfExpression::AddMachineRegExpression(), llvm::IntervalMapOverlaps< MapA, MapB >::advanceTo(), llvm::DOTGraphTraits< SelectionDAG * >::getEdgeTarget(), llvm::getGEPInductionOperand(), llvm::IntervalMapOverlaps< MapA, MapB >::IntervalMapOverlaps(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug, ByOperand, ByInstr, ByBundle >::operator++(), llvm::MachineRegisterInfo::defusechain_instr_iterator< Uses, Defs, SkipDebug, ByOperand, ByInstr, ByBundle >::operator++(), llvm::IntervalMapOverlaps< MapA, MapB >::skipA(), and llvm::IntervalMapOverlaps< MapA, MapB >::skipB().
Definition at line 108 of file MachOObjectFile.cpp.
Referenced by llvm::object::MachOObjectFile::getFileFormatName(), and llvm::object::MachOObjectFile::isRelocationScattered().
|
static |
Definition at line 178 of file MachOObjectFile.cpp.
References getLoadCommandInfo(), and getPtr().
Referenced by llvm::object::MachOObjectFile::MachOObjectFile().
|
static |
Definition at line 165 of file MachOObjectFile.cpp.
References llvm::object::MachOObjectFile::LoadCommandInfo::C, llvm::SPII::Load, llvm::object::macho_small_load_command, and llvm::object::MachOObjectFile::LoadCommandInfo::Ptr.
Referenced by getFirstLoadCommandInfo(), and getNextLoadCommandInfo().
|
static |
Definition at line 185 of file MachOObjectFile.cpp.
References llvm::object::MachOObjectFile::LoadCommandInfo::C, llvm::MachO::load_command::cmdsize, getLoadCommandInfo(), and llvm::object::MachOObjectFile::LoadCommandInfo::Ptr.
Referenced by llvm::object::MachOObjectFile::MachOObjectFile().
|
static |
Definition at line 113 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word0.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationAddress(), and llvm::object::MachOObjectFile::isRelocationScattered().
|
static |
Definition at line 135 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word1.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationLength().
|
static |
Definition at line 122 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word1.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationPCRel().
|
static |
Definition at line 147 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word1.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationType().
Definition at line 83 of file MachOObjectFile.cpp.
Referenced by llvm::object::MachOObjectFile::begin_dices(), llvm::object::MachOObjectFile::end_dices(), llvm::object::MachOObjectFile::getDataInCodeTableEntry(), llvm::object::MachOObjectFile::getDyldInfoBindOpcodes(), llvm::object::MachOObjectFile::getDyldInfoExportsTrie(), llvm::object::MachOObjectFile::getDyldInfoLazyBindOpcodes(), llvm::object::MachOObjectFile::getDyldInfoRebaseOpcodes(), llvm::object::MachOObjectFile::getDyldInfoWeakBindOpcodes(), getFirstLoadCommandInfo(), llvm::object::MachOObjectFile::getIndirectSymbolTableEntry(), llvm::object::MachOObjectFile::getRelocation(), llvm::object::MachOObjectFile::getRelocationSymbol(), llvm::object::MachOObjectFile::getSymbolByIndex(), parseHeader(), and llvm::object::MachOObjectFile::symbol_end_impl().
|
static |
Definition at line 118 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word0.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationAddress().
|
static |
Definition at line 143 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word0.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationLength().
|
static |
Definition at line 130 of file MachOObjectFile.cpp.
References llvm::MachO::any_relocation_info::r_word0.
Referenced by llvm::object::MachOObjectFile::getAnyRelocationPCRel().
|
static |
Definition at line 154 of file MachOObjectFile.cpp.
References llvm::MachO::section::flags, and llvm::MachO::section_64::flags.
Referenced by llvm::object::MachOObjectFile::getSectionType(), llvm::object::MachOObjectFile::isSectionBSS(), llvm::object::MachOObjectFile::isSectionData(), and llvm::object::MachOObjectFile::isSectionText().
|
static |
Definition at line 69 of file MachOObjectFile.cpp.
References llvm::object::MachOObjectFile::LoadCommandInfo::Ptr, and llvm::COFF::SectionSize.
Referenced by parseSegmentLoadCommand().
Definition at line 43 of file MachOObjectFile.cpp.
References llvm::sys::path::begin(), llvm::sys::path::const_iterator::end, llvm::sys::IsLittleEndianHost, llvm::report_fatal_error(), and llvm::MachO::swapStruct().
|
static |
Definition at line 56 of file MachOObjectFile.cpp.
References llvm::sys::path::begin(), llvm::sys::path::const_iterator::end, llvm::sys::IsLittleEndianHost, llvm::object::parse_failed, and llvm::MachO::swapStruct().
|
static |
Definition at line 88 of file MachOObjectFile.cpp.
References llvm::object::DataRefImpl::p, and P.
Referenced by llvm::object::MachOObjectFile::getIndirectName(), llvm::object::MachOObjectFile::getSymbolAlignment(), llvm::object::MachOObjectFile::getSymbolFlags(), llvm::object::MachOObjectFile::getSymbolName(), llvm::object::MachOObjectFile::getSymbolSection(), llvm::object::MachOObjectFile::getSymbolSectionID(), and llvm::object::MachOObjectFile::getSymbolType().
|
static |
Definition at line 191 of file MachOObjectFile.cpp.
References getPtr().
Referenced by llvm::object::MachOObjectFile::MachOObjectFile().
|
static |
Definition at line 204 of file MachOObjectFile.cpp.
References llvm::object::MachOObjectFile::LoadCommandInfo::C, llvm::MachO::load_command::cmdsize, llvm::StringRef::equals(), getSectionPtr(), llvm::object::macho_load_segment_too_many_sections, llvm::object::macho_load_segment_too_small, llvm::object::MachOObjectFile::LoadCommandInfo::Ptr, llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), and llvm::COFF::SectionSize.
Definition at line 93 of file MachOObjectFile.cpp.
References P.
Referenced by llvm::object::MachOObjectFile::getSectionFinalSegmentName(), and llvm::object::MachOObjectFile::getSectionName().
1.8.6