[PATCH] D36342: [lld] Write the DataCRC to the output PDB

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 5 11:43:03 PDT 2017


compnerd accepted this revision.
compnerd added inline comments.


================
Comment at: lld/COFF/PDB.cpp:696
+    JamCRC CRC(0);
+    ArrayRef<char> CharContents = makeArrayRef(
+        reinterpret_cast<const char *>(Contents.data()), Contents.size());
----------------
Probably can get away with `auto` here.


https://reviews.llvm.org/D36342





More information about the llvm-commits mailing list