Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/lib/CodeGen/CGDebugInfo.h
Show First 20 Lines • Show All 532 Lines • ▼ Show 20 Lines | private: | ||||
/// Compute the file checksum debug info for input file ID. | /// Compute the file checksum debug info for input file ID. | ||||
Optional<llvm::DIFile::ChecksumKind> | Optional<llvm::DIFile::ChecksumKind> | ||||
computeChecksum(FileID FID, SmallString<32> &Checksum) const; | computeChecksum(FileID FID, SmallString<32> &Checksum) const; | ||||
/// Get the source of the given file ID. | /// Get the source of the given file ID. | ||||
Optional<StringRef> getSource(const SourceManager &SM, FileID FID); | Optional<StringRef> getSource(const SourceManager &SM, FileID FID); | ||||
/// Get the file debug info descriptor for the input location. | /// Convenience function to get the file debug info descriptor for the input | ||||
/// location. | |||||
llvm::DIFile *getOrCreateFile(SourceLocation Loc); | llvm::DIFile *getOrCreateFile(SourceLocation Loc); | ||||
/// Create a file debug info descriptor for a source file. | |||||
llvm::DIFile * | |||||
createFile(StringRef FileName, | |||||
Optional<llvm::DIFile::ChecksumInfo<StringRef>> CSInfo, | |||||
Optional<StringRef> Source); | |||||
/// Get the file info for main compile unit. | /// Get the file info for main compile unit. | ||||
llvm::DIFile *getOrCreateMainFile(); | llvm::DIFile *getOrCreateMainFile(); | ||||
/// Get the type from the cache or create a new type if necessary. | /// Get the type from the cache or create a new type if necessary. | ||||
llvm::DIType *getOrCreateType(QualType Ty, llvm::DIFile *Fg); | llvm::DIType *getOrCreateType(QualType Ty, llvm::DIFile *Fg); | ||||
/// Get a reference to a clang module. If \p CreateSkeletonCU is true, | /// Get a reference to a clang module. If \p CreateSkeletonCU is true, | ||||
/// this also creates a split dwarf skeleton compile unit. | /// this also creates a split dwarf skeleton compile unit. | ||||
▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines |