LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::DWARFDebugLine::ContentTypeTracker Struct Reference

Tracks which optional content types are present in a DWARF file name entry format. More...

#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"

Collaboration diagram for llvm::DWARFDebugLine::ContentTypeTracker:
Collaboration graph
[legend]

Public Member Functions

 ContentTypeTracker ()=default
 
void trackContentType (dwarf::LineNumberEntryFormat ContentType)
 Update tracked content types with ContentType. More...
 

Public Attributes

bool HasModTime = false
 Whether filename entries provide a modification timestamp. More...
 
bool HasLength = false
 Whether filename entries provide a file size. More...
 
bool HasMD5 = false
 For v5, whether filename entries provide an MD5 checksum. More...
 
bool HasSource = false
 For v5, whether filename entries provide source text. More...
 

Detailed Description

Tracks which optional content types are present in a DWARF file name entry format.

Definition at line 47 of file DWARFDebugLine.h.

Constructor & Destructor Documentation

◆ ContentTypeTracker()

llvm::DWARFDebugLine::ContentTypeTracker::ContentTypeTracker ( )
default

Member Function Documentation

◆ trackContentType()

void DWARFDebugLine::ContentTypeTracker::trackContentType ( dwarf::LineNumberEntryFormat  ContentType)

Update tracked content types with ContentType.

Definition at line 46 of file DWARFDebugLine.cpp.

Referenced by parseV5EntryFormat().

Member Data Documentation

◆ HasLength

bool llvm::DWARFDebugLine::ContentTypeTracker::HasLength = false

Whether filename entries provide a file size.

Definition at line 53 of file DWARFDebugLine.h.

Referenced by parseV2DirFileTables().

◆ HasMD5

bool llvm::DWARFDebugLine::ContentTypeTracker::HasMD5 = false

For v5, whether filename entries provide an MD5 checksum.

Definition at line 55 of file DWARFDebugLine.h.

◆ HasModTime

bool llvm::DWARFDebugLine::ContentTypeTracker::HasModTime = false

Whether filename entries provide a modification timestamp.

Definition at line 51 of file DWARFDebugLine.h.

Referenced by parseV2DirFileTables().

◆ HasSource

bool llvm::DWARFDebugLine::ContentTypeTracker::HasSource = false

For v5, whether filename entries provide source text.

Definition at line 57 of file DWARFDebugLine.h.


The documentation for this struct was generated from the following files: