LLVM 20.0.0git
Public Member Functions | List of all members
llvm::pdb::DIASourceFile Class Reference

#include "llvm/DebugInfo/PDB/DIA/DIASourceFile.h"

Inheritance diagram for llvm::pdb::DIASourceFile:
Inheritance graph
[legend]

Public Member Functions

 DIASourceFile (const DIASession &Session, CComPtr< IDiaSourceFile > DiaSourceFile)
 
std::string getFileName () const override
 
uint32_t getUniqueId () const override
 
std::string getChecksum () const override
 
PDB_Checksum getChecksumType () const override
 
std::unique_ptr< IPDBEnumChildren< PDBSymbolCompiland > > getCompilands () const override
 
CComPtr< IDiaSourceFile > getDiaFile () const
 
- Public Member Functions inherited from llvm::pdb::IPDBSourceFile
virtual ~IPDBSourceFile ()
 
void dump (raw_ostream &OS, int Indent) const
 
virtual std::string getFileName () const =0
 
virtual uint32_t getUniqueId () const =0
 
virtual std::string getChecksum () const =0
 
virtual PDB_Checksum getChecksumType () const =0
 
virtual std::unique_ptr< IPDBEnumChildren< PDBSymbolCompiland > > getCompilands () const =0
 

Detailed Description

Definition at line 19 of file DIASourceFile.h.

Constructor & Destructor Documentation

◆ DIASourceFile()

DIASourceFile::DIASourceFile ( const DIASession Session,
CComPtr< IDiaSourceFile >  DiaSourceFile 
)
explicit

Definition at line 19 of file DIASourceFile.cpp.

Member Function Documentation

◆ getChecksum()

std::string DIASourceFile::getChecksum ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 32 of file DIASourceFile.cpp.

◆ getChecksumType()

PDB_Checksum DIASourceFile::getChecksumType ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 44 of file DIASourceFile.cpp.

References llvm::pdb::None, and llvm::pdb::Type.

◆ getCompilands()

std::unique_ptr< IPDBEnumChildren< PDBSymbolCompiland > > DIASourceFile::getCompilands ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 53 of file DIASourceFile.cpp.

References llvm::Enumerator.

◆ getDiaFile()

CComPtr< IDiaSourceFile > llvm::pdb::DIASourceFile::getDiaFile ( ) const
inline

Definition at line 31 of file DIASourceFile.h.

Referenced by llvm::pdb::DIASession::findLineNumbers().

◆ getFileName()

std::string DIASourceFile::getFileName ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 23 of file DIASourceFile.cpp.

References invokeBstrMethod().

◆ getUniqueId()

uint32_t DIASourceFile::getUniqueId ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 27 of file DIASourceFile.cpp.


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