LLVM  6.0.0svn
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]
Collaboration diagram for llvm::pdb::DIASourceFile:
Collaboration 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
 

Detailed Description

Definition at line 20 of file DIASourceFile.h.

Constructor & Destructor Documentation

◆ DIASourceFile()

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

Definition at line 21 of file DIASourceFile.cpp.

Member Function Documentation

◆ getChecksum()

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

Implements llvm::pdb::IPDBSourceFile.

Definition at line 43 of file DIASourceFile.cpp.

References llvm::AMDGPU::SDWA::DWORD.

◆ getChecksumType()

PDB_Checksum DIASourceFile::getChecksumType ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 55 of file DIASourceFile.cpp.

References llvm::AMDGPU::SDWA::DWORD, and llvm::pdb::None.

◆ getCompilands()

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

Implements llvm::pdb::IPDBSourceFile.

Definition at line 64 of file DIASourceFile.cpp.

References llvm::dwarf::syntax::Enumerator.

◆ getDiaFile()

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

Definition at line 32 of file DIASourceFile.h.

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

◆ getFileName()

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

Implements llvm::pdb::IPDBSourceFile.

Definition at line 25 of file DIASourceFile.cpp.

References llvm::convertUTF16ToUTF8String().

◆ getUniqueId()

uint32_t DIASourceFile::getUniqueId ( ) const
overridevirtual

Implements llvm::pdb::IPDBSourceFile.

Definition at line 38 of file DIASourceFile.cpp.

References llvm::AMDGPU::SDWA::DWORD.


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