[PATCH] D37157: Fix Bug 30978 by emitting cv file checksums.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 17:27:48 PDT 2017


rnk added inline comments.


================
Comment at: llvm/lib/MC/MCCodeView.cpp:68
+  auto ChecksumOffsetSymbol =
+      OS.getContext().getOrCreateSymbol("file" + std::to_string(FileNumber));
+  Files[Idx].StringTableOffset = Offset;
----------------
Use MCContext::createTempSymbol to make sure these don't show up in the .obj symbol table.


https://reviews.llvm.org/D37157





More information about the llvm-commits mailing list