summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2016-12-25 10:12:27 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2016-12-25 10:12:27 +0000
commit0bc0e2596fac8d05fb3893385f7b5081e38958f2 (patch)
tree4a4ed878ab1154391fcd0b0517ab71f98e330e35 /lib/CodeGen/CGDebugInfo.h
parent89014aa92ecb6c7f3c2c95ae6342f729e9724dc2 (diff)
[DebugInfo] Added support for Checksum debug info feature.
Differential Revision: https://reviews.llvm.org/D27641 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r--lib/CodeGen/CGDebugInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h
index 70e3d484b4..ac2e8dd2e0 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -442,6 +442,10 @@ private:
/// Remap a given path with the current debug prefix map
std::string remapDIPath(StringRef) const;
+ /// Compute the file checksum debug info for input file ID.
+ llvm::DIFile::ChecksumKind computeChecksum(FileID FID,
+ SmallString<32> &Checksum) const;
+
/// Get the file debug info descriptor for the input location.
llvm::DIFile *getOrCreateFile(SourceLocation Loc);