LLVM  8.0.1
Namespaces | Macros | Functions
ELFYAML.cpp File Reference
#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"
Include dependency graph for ELFYAML.cpp:

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)
 

Macro Definition Documentation

◆ BCase [1/6]

#define BCase (   X)    IO.bitSetCase(Value, #X, ELF::X)

◆ BCase [2/6]

#define BCase (   X)    IO.bitSetCase(Value, #X, ELF::X)

◆ BCase [3/6]

#define BCase (   X)    IO.bitSetCase(Value, #X, ELF::X)

◆ BCase [4/6]

#define BCase (   X)    IO.bitSetCase(Value, #X, ELF::X)

◆ BCase [5/6]

#define BCase (   X)    IO.bitSetCase(Value, #X, Mips::AFL_ASE_##X)

◆ BCase [6/6]

#define BCase (   X)    IO.bitSetCase(Value, #X, Mips::AFL_FLAGS1_##X)

◆ BCaseMask

#define BCaseMask (   X,
 
)    IO.maskedBitSetCase(Value, #X, ELF::X, ELF::M)

◆ ECase [1/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [2/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [3/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [4/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [5/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [6/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [7/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [8/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [9/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [10/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [11/14]

#define ECase (   X)    IO.enumCase(Value, #X, ELF::X)

◆ ECase [12/14]

#define ECase (   X)    IO.enumCase(Value, #X, Mips::AFL_##X)

◆ ECase [13/14]

#define ECase (   X)    IO.enumCase(Value, #X, Mips::Val_GNU_MIPS_ABI_##X)

◆ ECase [14/14]

#define ECase (   X)    IO.enumCase(Value, #X, Mips::AFL_##X)

◆ ELF_RELOC

#define ELF_RELOC (   X,
  Y 
)    IO.enumCase(Value, #X, ELF::X);

Variable Documentation

◆ Other

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().

◆ SpecSym

ELFYAML::ELF_RSS SpecSym

◆ Type

ELFYAML::ELF_REL Type

Definition at line 947 of file ELFYAML.cpp.

◆ Type2

ELFYAML::ELF_REL Type2

◆ Type3

ELFYAML::ELF_REL Type3

◆ Visibility

ELFYAML::ELF_STV Visibility