Resolve Bug 30978.
This patch contains changes in Clang to support Checksum debug info feature.
Paths
| Differential D27641
DebugInfo: Added support for Checksum debug info feature (Clang part) ClosedPublic Authored by aaboud on Dec 9 2016, 4:47 PM.
Details Summary Resolve Bug 30978. This patch contains changes in Clang to support Checksum debug info feature.
Diff Detail Event Timeline
Comment Actions Moved getChecksum from SourceManager to CGDebugInfo. rnk edited edge metadata. Comment ActionsThis side looks good.
This revision is now accepted and ready to land.Dec 21 2016, 10:20 AM Closed by commit rL290515: [DebugInfo] Added support for Checksum debug info feature. (authored by aaboud). · Explain WhyDec 25 2016, 2:23 AM This revision was automatically updated to reflect the committed changes. aaboud marked an inline comment as done.
Revision Contents
Diff 80973 include/clang/Basic/SourceManager.h
lib/Basic/SourceManager.cpp
lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/debug-info-atomic.c
test/CodeGen/debug-info-file-checksum.ctest/CodeGen/debug-info-file-checksum.c.sourcetest/CodeGen/debug-prefix-map.c
test/PCH/debug-info-pch-path.c
|
Let's move this whole thing to CGDebugInfo::getOrCreateFile. SourceManager isn't caching or managing MD5 checksums at all in this CL.