[PATCH] D23048: PDB: Mark extended file pages as free by default.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 15:04:20 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL277529: PDB: Mark extended file pages as free by default. (authored by ruiu).

Changed prior to commit:
  https://reviews.llvm.org/D23048?vs=66423&id=66561#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D23048

Files:
  llvm/trunk/lib/DebugInfo/MSF/MSFBuilder.cpp

Index: llvm/trunk/lib/DebugInfo/MSF/MSFBuilder.cpp
===================================================================
--- llvm/trunk/lib/DebugInfo/MSF/MSFBuilder.cpp
+++ llvm/trunk/lib/DebugInfo/MSF/MSFBuilder.cpp
@@ -53,7 +53,7 @@
     if (!IsGrowable)
       return make_error<MSFError>(msf_error_code::insufficient_buffer,
                                   "Cannot grow the number of blocks");
-    FreeBlocks.resize(Addr + 1);
+    FreeBlocks.resize(Addr + 1, true);
   }
 
   if (!isBlockFree(Addr))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23048.66561.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/40dfadc9/attachment.bin>


More information about the llvm-commits mailing list