summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-05-25 20:59:29 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-05-25 20:59:29 +0000
commit638d606f83e7c12b5e3949ad5ad5757c603bd1b5 (patch)
treef301aaeafb027a0b73b8778e631ea86894e5b8a2 /clang/lib/CodeGen/CGDebugInfo.h
parent11c1c266ccd06267516fdb0118513d3fe8cfaa52 (diff)
downloadbcm5719-llvm-638d606f83e7c12b5e3949ad5ad5757c603bd1b5.tar.gz
bcm5719-llvm-638d606f83e7c12b5e3949ad5ad5757c603bd1b5.zip
[DebugInfo] Don't bother with MD5 checksums of preprocessed files.
The checksum will not reflect the real source, so there's no clear reason to include them in the debug info. Also this was causing a crash on the DWARF side. Differential Revision: https://reviews.llvm.org/D47260 llvm-svn: 333311
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index a692babef53..ec7b046c8f3 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -57,6 +57,7 @@ class CGDebugInfo {
CodeGenModule &CGM;
const codegenoptions::DebugInfoKind DebugKind;
bool DebugTypeExtRefs;
+ mutable bool EmitFileChecksums;
llvm::DIBuilder DBuilder;
llvm::DICompileUnit *TheCU = nullptr;
ModuleMap *ClangModuleMap = nullptr;
OpenPOWER on IntegriCloud