[PATCH] Make vector asan annotations exception-friendly

Marshall Clow mclow.lists at gmail.com
Tue Sep 2 08:11:46 PDT 2014


This looks good to me.
Sorry for the long delay.

================
Comment at: test/containers/sequences/vector/asan_throw.pass.cc:84
@@ +83,3 @@
+  } catch (int e) {
+    assert(v.size() == 3);
+  }
----------------
I'm pretty sure that multi-element insertions do not have any exception guarantees.

http://reviews.llvm.org/D4170






More information about the cfe-commits mailing list