LLVM 20.0.0git
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"

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 43 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 48 of file DWARFDebugLine.cpp.

References HasLength, HasMD5, HasModTime, and HasSource.

Referenced by parseV5EntryFormat().

Member Data Documentation

◆ HasLength

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

Whether filename entries provide a file size.

Definition at line 49 of file DWARFDebugLine.h.

Referenced by parseV2DirFileTables(), and trackContentType().

◆ HasMD5

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

For v5, whether filename entries provide an MD5 checksum.

Definition at line 51 of file DWARFDebugLine.h.

Referenced by trackContentType().

◆ HasModTime

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

Whether filename entries provide a modification timestamp.

Definition at line 47 of file DWARFDebugLine.h.

Referenced by parseV2DirFileTables(), and trackContentType().

◆ HasSource

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

For v5, whether filename entries provide source text.

Definition at line 53 of file DWARFDebugLine.h.

Referenced by trackContentType().


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