[PATCH] D40741: [DWARFv5] Emit v5 line-table header

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 11:37:18 PST 2017


aprantl added inline comments.


================
Comment at: llvm/lib/MC/MCDwarf.cpp:265
+  // First the directory table.
+  for (unsigned i = 0; i < MCDwarfDirs.size(); i++) {
+    MCOS->EmitBytes(MCDwarfDirs[i]);     // the DirectoryName
----------------
also a range-based for loop?


https://reviews.llvm.org/D40741





More information about the llvm-commits mailing list