LLVM 20.0.0git
Public Member Functions | List of all members
llvm::gsym::FileEntry Struct Reference

Files in GSYM are contained in FileEntry structs where we split the directory and basename into two different strings in the string table. More...

#include "llvm/DebugInfo/GSYM/FileEntry.h"

Public Member Functions

 FileEntry ()=default
 
 FileEntry (uint32_t D, uint32_t B)
 
bool operator== (const FileEntry &RHS) const
 
bool operator!= (const FileEntry &RHS) const
 

Public Attributes

uint32_t Dir = 0
 Offsets in the string table.
 
uint32_t Base = 0
 

Detailed Description

Files in GSYM are contained in FileEntry structs where we split the directory and basename into two different strings in the string table.

This allows paths to shared commont directory and filename strings and saves space.

Definition at line 24 of file FileEntry.h.

Constructor & Destructor Documentation

◆ FileEntry() [1/2]

llvm::gsym::FileEntry::FileEntry ( )
default

◆ FileEntry() [2/2]

llvm::gsym::FileEntry::FileEntry ( uint32_t  D,
uint32_t  B 
)
inline

Definition at line 33 of file FileEntry.h.

Member Function Documentation

◆ operator!=()

bool llvm::gsym::FileEntry::operator!= ( const FileEntry RHS) const
inline

Definition at line 40 of file FileEntry.h.

References Base, Dir, and RHS.

◆ operator==()

bool llvm::gsym::FileEntry::operator== ( const FileEntry RHS) const
inline

Definition at line 37 of file FileEntry.h.

References Base, Dir, and RHS.

Member Data Documentation

◆ Base

uint32_t llvm::gsym::FileEntry::Base = 0

◆ Dir

uint32_t llvm::gsym::FileEntry::Dir = 0

Offsets in the string table.

Definition at line 28 of file FileEntry.h.

Referenced by llvm::DenseMapInfo< gsym::FileEntry >::getHashValue(), operator!=(), and operator==().


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