[PATCH] D15807: [asan] Fix internal CHECK failure on double free in recovery mode.

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 14:14:42 PST 2016


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

LGTM with a nit


================
Comment at: lib/asan/asan_allocator.cc:461
@@ +460,3 @@
+  // Set quarantine flag if chunk is allocated, issue ASan error report on
+  // available and quarantined ones. Return true on success, false otherwise.
+  bool AtomicallySetQuarantineFlagIfAllocated(AsanChunk *m, void *ptr,
----------------
s/ones/chunks


Repository:
  rL LLVM

http://reviews.llvm.org/D15807





More information about the llvm-commits mailing list