1 //===- IPDBSourceFile.h - base interface for a PDB source file --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_IPDBSOURCEFILE_H
11 #define LLVM_DEBUGINFO_PDB_IPDBSOURCEFILE_H
19 /// IPDBSourceFile defines an interface used to represent source files whose
20 /// information are stored in the PDB.
21 class IPDBSourceFile {
23 virtual ~IPDBSourceFile();
25 virtual std::string getFileName() const = 0;
26 virtual uint32_t getUniqueId() const = 0;
27 virtual std::string getChecksum() const = 0;
28 virtual PDB_Checksum getChecksumType() const = 0;
29 virtual std::unique_ptr<IPDBEnumCompilands> getCompilands() const = 0;