[PATCH] D23474: COFF: add beginnings of debug directory creation

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 11:09:26 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM with a few nits.


================
Comment at: COFF/Writer.cpp:58
@@ +57,3 @@
+
+    for (const auto &Record : Records) {
+      D->Characteristics = 0;
----------------
auto -> std::unique_ptr<Chunk>

================
Comment at: COFF/Writer.cpp:74
@@ +73,3 @@
+private:
+  const std::vector<std::unique_ptr<Chunk>> &Records;
+};
----------------
Why don't you use ArrayRef?


Repository:
  rL LLVM

https://reviews.llvm.org/D23474





More information about the llvm-commits mailing list