[PATCH] [Sanitizers] Order initialization of coverage and guard arrays

Kostya Serebryany kcc at google.com
Thu Jan 15 14:54:06 PST 2015


================
Comment at: lib/sanitizer_common/sanitizer_coverage_libcdep.cc:181
@@ -179,1 +180,3 @@
 void CoverageData::InitializeGuardArray(s32 *guards) {
+  if (!pc_array)
+    Init();
----------------
Maybe just call Init() here?

http://reviews.llvm.org/D6892

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list