LLVM  13.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"

Collaboration diagram for llvm::gsym::FileEntry:
Collaboration graph
[legend]

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. More...
 
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 25 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 34 of file FileEntry.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 41 of file FileEntry.h.

References Base, and Dir.

◆ operator==()

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

Definition at line 38 of file FileEntry.h.

References Base, and Dir.

Member Data Documentation

◆ Base

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

◆ Dir

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

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