LLVM
8.0.1
|
#include "llvm/ObjectYAML/ELFYAML.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MipsABIFlags.h"
#include "llvm/Support/YAMLTraits.h"
#include <cassert>
#include <cstdint>
#include "llvm/BinaryFormat/ELFRelocs/x86_64.def"
#include "llvm/BinaryFormat/ELFRelocs/Mips.def"
#include "llvm/BinaryFormat/ELFRelocs/Hexagon.def"
#include "llvm/BinaryFormat/ELFRelocs/i386.def"
#include "llvm/BinaryFormat/ELFRelocs/AArch64.def"
#include "llvm/BinaryFormat/ELFRelocs/ARM.def"
#include "llvm/BinaryFormat/ELFRelocs/ARC.def"
#include "llvm/BinaryFormat/ELFRelocs/RISCV.def"
#include "llvm/BinaryFormat/ELFRelocs/Lanai.def"
#include "llvm/BinaryFormat/ELFRelocs/AMDGPU.def"
#include "llvm/BinaryFormat/ELFRelocs/BPF.def"
Go to the source code of this file.
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
llvm::yaml | |
Macros | |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | BCase(X) IO.bitSetCase(Value, #X, ELF::X) |
#define | BCaseMask(X, M) IO.maskedBitSetCase(Value, #X, ELF::X, ELF::M) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | BCase(X) IO.bitSetCase(Value, #X, ELF::X) |
#define | BCase(X) IO.bitSetCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | BCase(X) IO.bitSetCase(Value, #X, ELF::X) |
#define | ECase(X) IO.enumCase(Value, #X, ELF::X) |
#define | ELF_RELOC(X, Y) IO.enumCase(Value, #X, ELF::X); |
#define | ECase(X) IO.enumCase(Value, #X, Mips::AFL_##X) |
#define | ECase(X) IO.enumCase(Value, #X, Mips::Val_GNU_MIPS_ABI_##X) |
#define | ECase(X) IO.enumCase(Value, #X, Mips::AFL_##X) |
#define | BCase(X) IO.bitSetCase(Value, #X, Mips::AFL_ASE_##X) |
#define | BCase(X) IO.bitSetCase(Value, #X, Mips::AFL_FLAGS1_##X) |
Functions | |
static void | llvm::yaml::commonSectionMapping (IO &IO, ELFYAML::Section &Section) |
static void | llvm::yaml::sectionMapping (IO &IO, ELFYAML::RawContentSection &Section) |
static void | llvm::yaml::sectionMapping (IO &IO, ELFYAML::NoBitsSection &Section) |
static void | llvm::yaml::sectionMapping (IO &IO, ELFYAML::RelocationSection &Section) |
static void | llvm::yaml::groupSectionMapping (IO &IO, ELFYAML::Group &group) |
static void | llvm::yaml::sectionMapping (IO &IO, ELFYAML::MipsABIFlags &Section) |
Referenced by llvm::yaml::ScalarBitSetTraits< ELFYAML::ELF_EF >::bitset(), llvm::yaml::ScalarBitSetTraits< ELFYAML::ELF_PF >::bitset(), llvm::yaml::ScalarBitSetTraits< ELFYAML::ELF_SHF >::bitset(), llvm::yaml::ScalarBitSetTraits< ELFYAML::ELF_STO >::bitset(), llvm::yaml::ScalarBitSetTraits< ELFYAML::MIPS_AFL_ASE >::bitset(), and llvm::yaml::ScalarBitSetTraits< ELFYAML::MIPS_AFL_FLAGS1 >::bitset().
Referenced by llvm::yaml::ScalarBitSetTraits< ELFYAML::ELF_EF >::bitset().
Referenced by llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_ET >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_PT >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_EM >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_ELFCLASS >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_ELFDATA >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_ELFOSABI >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_SHT >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_SHN >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_STT >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_STV >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::ELF_RSS >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::MIPS_AFL_REG >::enumeration(), llvm::yaml::ScalarEnumerationTraits< ELFYAML::MIPS_ABI_FP >::enumeration(), and llvm::yaml::ScalarEnumerationTraits< ELFYAML::MIPS_AFL_EXT >::enumeration().
ELFYAML::ELF_STO Other |
Definition at line 784 of file ELFYAML.cpp.
Referenced by llvm::DbgVariable::addMMIEntry(), addRegLanes(), llvm::Any::Any(), llvm::object::BaseRelocRef::BaseRelocRef(), llvm::BasicAAResult::BasicAAResult(), llvm::BinaryStreamRefBase< WritableBinaryStreamRef, WritableBinaryStream >::BinaryStreamRefBase(), llvm::CachedHashString::CachedHashString(), calculateByteProvider(), llvm::object::Binary::checkOffset(), llvm::objcarc::PtrState::ClearSequenceProgress(), combineSelect(), llvm::StringRef::compare(), CreateLoadIns(), createPPCMCAsmInfo(), llvm::object::DelayImportDirectoryEntryRef::DelayImportDirectoryEntryRef(), DeleteTriviallyDeadInstructions(), llvm::RegPressureTracker::discoverLiveInOrOut(), llvm::GVNExpression::Expression::dump(), llvm::StructType::elements(), llvm::object::ELFObjectFile< ELFT >::ELFObjectFile(), llvm::MemorySSAAnnotatedWriter::emitInstructionAnnot(), llvm::BaseIndexOffset::equalBaseIndex(), llvm::Error::Error(), llvm::ErrorOr< T >::ErrorOr(), llvm::Expected< T >::Expected(), llvm::object::ExportDirectoryEntryRef::ExportDirectoryEntryRef(), llvm::SourceMgr::FindBufferContainingLoc(), llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::GenericIndirectStubsInfo(), getAccessVariant(), getFixupKindNumBytes(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), llvm::MCSymbolELF::getOther(), getRegLanes(), llvm::MCSymbolELF::getSize(), llvm::vfs::Status::getSize(), llvm::GVNExpression::StoreExpression::getStoredValue(), llvm::HandleSDNode::HandleSDNode(), llvm::Triple::hasDefaultEmulatedTLS(), llvm::object::ImportDirectoryEntryRef::ImportDirectoryEntryRef(), llvm::object::ImportedSymbolRef::ImportedSymbolRef(), isADDADDMUL(), isDbgValueDescribedByReg(), isKnownBaseResult(), llvm::MachineInstr::isRegTiedToDefOperand(), llvm::mca::InstrDesc::isZeroLatency(), llvm::ItaniumPartialDemangler::ItaniumPartialDemangler(), llvm::JITSymbol::JITSymbol(), LowerXOR(), llvm::yaml::MappingTraits< ELFYAML::ProgramHeader >::mapping(), matchRotateSub(), mergeTypeForSet(), llvm::MSVCPError::MSVCPError(), llvm::MSVCPExpected< T >::MSVCPExpected(), llvm::FixedStreamArray< PSHashRecord >::operator!=(), llvm::object::Elf_Note_Iterator_Impl< ELFT >::operator!=(), llvm::ErrorOr< T >::operator*(), llvm::Expected< T >::operator*(), llvm::ItaniumPartialDemangler::operator=(), llvm::MSVCPExpected< T >::operator=(), llvm::orc::SymbolStringPtr::operator=(), llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::operator=(), llvm::orc::ThreadSafeModule::operator=(), llvm::SmallSetIterator< T, N, C >::operator=(), llvm::sys::OwningMemoryBlock::operator=(), llvm::ErrorOr< T >::operator=(), llvm::object::OwningBinary< object::ObjectFile >::operator=(), llvm::DataLayout::operator=(), llvm::JITSymbol::operator=(), llvm::OwningArrayRef< T >::operator=(), llvm::Expected< T >::operator=(), llvm::InstrProfRecord::operator=(), llvm::sys::fs::TempFile::operator=(), llvm::itanium_demangle::PODSmallVector< llvm::itanium_demangle::ForwardTemplateReference *, 4 >::operator=(), llvm::orc::remote::OrcRemoteTargetServer< ChannelT, TargetT >::OrcRemoteTargetServer(), llvm::pdb::UDTLayoutBase::other_items(), llvm::LiveRange::overlaps(), llvm::OwningArrayRef< T >::OwningArrayRef(), llvm::sys::OwningMemoryBlock::OwningMemoryBlock(), llvm::pdb::PDBSymbol::PDBSymbol(), llvm::itanium_demangle::PODSmallVector< llvm::itanium_demangle::ForwardTemplateReference *, 4 >::PODSmallVector(), processSelect(), readsVCCZ(), llvm::RegPressureTracker::recede(), llvm::orc::remote::OrcRemoteTargetServer< ChannelT, TargetT >::receivedTerminate(), llvm::BasicBlock::removePredecessor(), removeRegLanes(), llvm::SDep::SDep(), selectI64Imm(), llvm::SelectionDAG::SelectionDAG(), llvm::GVNExpression::LoadExpression::setAlignment(), llvm::MachineOperand::setRegMask(), setRegZero(), llvm::Module::setSourceFileName(), ShrinkLoadReplaceStoreWithStore(), llvm::SmallSetIterator< T, N, C >::SmallSetIterator(), llvm::orc::SymbolStringPtr::SymbolStringPtr(), llvm::sys::fs::TempFile::TempFile(), transformToIndexedCompare(), llvm::AggressiveAntiDepState::UnionGroups(), llvm::InstCombiner::visitCallInst(), and llvm::mca::WriteState::WriteState().
ELFYAML::ELF_RSS SpecSym |
Definition at line 950 of file ELFYAML.cpp.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::validate().
ELFYAML::ELF_REL Type |
Definition at line 947 of file ELFYAML.cpp.
ELFYAML::ELF_REL Type2 |
Definition at line 948 of file ELFYAML.cpp.
Referenced by llvm::object::ELFFile< ELFT >::getRelocationTypeName(), and llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::validate().
ELFYAML::ELF_REL Type3 |
Definition at line 949 of file ELFYAML.cpp.
Referenced by llvm::object::ELFFile< ELFT >::getRelocationTypeName(), and llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::validate().
ELFYAML::ELF_STV Visibility |
Definition at line 783 of file ELFYAML.cpp.
Referenced by llvm::AsmPrinter::EmitBasicBlockEnd(), llvm::AsmPrinter::emitDwarfAbbrevs(), FunctionNumber(), llvm::LLParser::getContext(), getMinVisibility(), llvm::MCSymbolELF::getSize(), llvm::MCSymbolELF::getVisibility(), llvm::GlobalValue::getVisibility(), llvm::GlobalValue::hasDefaultVisibility(), llvm::GlobalValue::hasHiddenVisibility(), llvm::GlobalValue::hasProtectedVisibility(), llvm::object::ELFObjectFile< ELFT >::isExportedToOtherDSO(), isKnownTypeIdMember(), llvm::yaml::MappingTraits< ELFYAML::ProgramHeader >::mapping(), maybeSetDSOLocal(), mergeTypeForSet(), llvm::GlobalValue::setLinkage(), and llvm::GlobalValue::setVisibility().