[PATCH] D27641: DebugInfo: Added support for Checksum debug info feature (Clang part)

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 13 15:09:08 PST 2016


probinson added inline comments.


================
Comment at: lib/CodeGen/CGDebugInfo.cpp:350
+  std::string Checksum;
+  SM.getChecksumMD5(SM.getFileID(Loc), Checksum);
+
----------------
rnk wrote:
> We should only do this if `CGM.getCodeGenOpts().EmitCodeView`, or we will regress compile time on other platforms without any added functionality.
Eventually we'll want it for DWARF 5 also, but for now conditioning on CodeView is fine.


https://reviews.llvm.org/D27641





More information about the cfe-commits mailing list