LLVM API Documentation
#include <MCDwarf.h>
Public Member Functions | |
MCDwarfLineTableHeader () | |
unsigned | getFile (StringRef &Directory, StringRef &FileName, unsigned FileNumber=0) |
std::pair< MCSymbol *, MCSymbol * > | Emit (MCStreamer *MCOS) const |
std::pair< MCSymbol *, MCSymbol * > | Emit (MCStreamer *MCOS, ArrayRef< char > SpecialOpcodeLengths) const |
Public Attributes | |
MCSymbol * | Label |
SmallVector< std::string, 3 > | MCDwarfDirs |
SmallVector< MCDwarfFile, 3 > | MCDwarfFiles |
StringMap< unsigned > | SourceIdMap |
StringRef | CompilationDir |
llvm::MCDwarfLineTableHeader::MCDwarfLineTableHeader | ( | ) | [inline] |
std::pair< MCSymbol *, MCSymbol * > MCDwarfLineTableHeader::Emit | ( | MCStreamer * | MCOS | ) | const |
Definition at line 231 of file MCDwarf.cpp.
References llvm::array_lengthof(), and DWARF2_LINE_OPCODE_BASE.
Referenced by llvm::MCDwarfDwoLineTable::Emit(), and llvm::MCDwarfLineTable::EmitCU().
std::pair< MCSymbol *, MCSymbol * > MCDwarfLineTableHeader::Emit | ( | MCStreamer * | MCOS, |
ArrayRef< char > | SpecialOpcodeLengths | ||
) | const |
Definition at line 267 of file MCDwarf.cpp.
References llvm::MCContext::CreateTempSymbol(), DWARF2_LINE_BASE, DWARF2_LINE_DEFAULT_IS_STMT, DWARF2_LINE_RANGE, emitAbsValue(), llvm::MCStreamer::EmitBytes(), llvm::MCStreamer::EmitIntValue(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitULEB128IntValue(), llvm::MCContext::getAsmInfo(), llvm::MCStreamer::getContext(), llvm::MCAsmInfo::getMinInstAlignment(), Label, MakeStartMinusEndExpr(), MCDwarfDirs, MCDwarfFiles, Name, llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::ArrayRef< T >::size().
unsigned MCDwarfLineTableHeader::getFile | ( | StringRef & | Directory, |
StringRef & | FileName, | ||
unsigned | FileNumber = 0 |
||
) |
Definition at line 369 of file MCDwarf.cpp.
References CompilationDir, llvm::MCDwarfFile::DirIndex, llvm::SmallVectorBase::empty(), llvm::StringRef::empty(), llvm::ARMBuildAttrs::File, llvm::sys::path::filename(), llvm::StringMap< ValueTy, AllocatorTy >::GetOrCreateValue(), llvm::StringMapEntry< ValueTy >::getValue(), MCDwarfDirs, MCDwarfFiles, llvm::MCDwarfFile::Name, llvm::sys::path::parent_path(), llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), llvm::SmallVectorImpl< T >::resize(), llvm::StringMapImpl::size(), llvm::SmallVectorTemplateCommon< T, typename >::size(), and SourceIdMap.
Referenced by llvm::MCDwarfDwoLineTable::getFile(), and llvm::MCDwarfLineTable::getFile().
Definition at line 186 of file MCDwarf.h.
Referenced by getFile(), llvm::MCDwarfDwoLineTable::setCompilationDir(), and llvm::MCDwarfLineTable::setCompilationDir().
Definition at line 182 of file MCDwarf.h.
Referenced by Emit(), llvm::MCDwarfLineTable::getLabel(), and llvm::MCDwarfLineTable::setLabel().
SmallVector<std::string, 3> llvm::MCDwarfLineTableHeader::MCDwarfDirs |
Definition at line 183 of file MCDwarf.h.
Referenced by Emit(), getFile(), and llvm::MCDwarfLineTable::getMCDwarfDirs().
Definition at line 184 of file MCDwarf.h.
Referenced by Emit(), getFile(), and llvm::MCDwarfLineTable::getMCDwarfFiles().