]> granicus.if.org Git - clang/commit
[DebugInfo] Don't bother with MD5 checksums of preprocessed files.
authorPaul Robinson <paul.robinson@sony.com>
Fri, 25 May 2018 20:59:29 +0000 (20:59 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 25 May 2018 20:59:29 +0000 (20:59 +0000)
commit6ce4c55a7217ab58c0df1259371a1c44d7e2cfa0
treeeb099c3aee0b3fb20b08b5d75563c686bec879ef
parentb3ab2ec725f7ee7e701eed827c0a68c4d0d4d943
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
test/CodeGen/md5-checksum-crash.c [new file with mode: 0644]