LLVM  6.0.0svn
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
 Compute iterated dominance frontiers using a linear time algorithm.
 
 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 733 of file ELFYAML.cpp.

Referenced by llvm::DominanceFrontierBase< BasicBlock, false >::addBasicBlock(), llvm::DbgVariable::addMMIEntry(), addRegLanes(), llvm::object::BaseRelocRef::BaseRelocRef(), llvm::BasicAAResult::BasicAAResult(), llvm::BinaryStreamRefBase< WritableBinaryStreamRef, WritableBinaryStream >::BinaryStreamRefBase(), llvm::CachedHashString::CachedHashString(), llvm::object::Binary::checkOffset(), llvm::objcarc::PtrState::ClearSequenceProgress(), combineSelect(), llvm::StringRef::compare(), 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(), FindSingleUseIdentifiedObject(), llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::GenericIndirectStubsInfo(), getAccessVariant(), getFixupKindNumBytes(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), llvm::MCSymbolELF::getOther(), getRegLanes(), llvm::MCSymbolELF::getSize(), llvm::GVNExpression::StoreExpression::getStoredValue(), getStoreTarget(), llvm::HandleSDNode::HandleSDNode(), llvm::object::ImportDirectoryEntryRef::ImportDirectoryEntryRef(), llvm::object::ImportedSymbolRef::ImportedSymbolRef(), isADDADDMUL(), isDbgValueDescribedByReg(), isKnownBaseResult(), llvm::MachineInstr::isRegTiedToDefOperand(), llvm::JITSymbol::JITSymbol(), LowerXOR(), llvm::yaml::MappingTraits< ELFYAML::ProgramHeader >::mapping(), matchRotateSub(), mergeTypeForSet(), llvm::FixedStreamArray< PSHashRecord >::operator!=(), llvm::ErrorOr< T >::operator*(), llvm::Expected< T >::operator*(), llvm::orc::GenericIndirectStubsInfo< StubSizeVal >::operator=(), llvm::ErrorOr< T >::operator=(), llvm::sys::OwningMemoryBlock::operator=(), llvm::object::OwningBinary< llvm::object::ObjectFile >::operator=(), llvm::DataLayout::operator=(), llvm::JITSymbol::operator=(), llvm::OwningArrayRef< T >::operator=(), llvm::Expected< T >::operator=(), llvm::orc::remote::OrcRemoteTargetServer< ChannelT, TargetT >::OrcRemoteTargetServer(), llvm::pdb::UDTLayoutBase::other_items(), llvm::LiveRange::overlaps(), llvm::OwningArrayRef< T >::OwningArrayRef(), llvm::sys::OwningMemoryBlock::OwningMemoryBlock(), peekThroughBitcast(), processSelect(), llvm::RegPressureTracker::recede(), llvm::orc::remote::OrcRemoteTargetServer< ChannelT, TargetT >::receivedTerminate(), llvm::BasicBlock::removePredecessor(), removeRegLanes(), llvm::objcarc::RRInfo::RRInfo(), llvm::SDep::SDep(), selectI64Imm(), llvm::SelectionDAG::SelectionDAG(), llvm::GVNExpression::LoadExpression::setAlignment(), llvm::MachineOperand::setRegMask(), setRegZero(), llvm::Module::setSourceFileName(), llvm::Triple::supportsCOMDAT(), transformToIndexedCompare(), and llvm::AggressiveAntiDepState::UnionGroups().

◆ SpecSym

ELFYAML::ELF_RSS SpecSym

◆ Type

ELFYAML::ELF_REL Type

◆ Type2

ELFYAML::ELF_REL Type2

◆ Type3

ELFYAML::ELF_REL Type3

◆ Visibility

ELFYAML::ELF_STV Visibility