Fix vector asan annotations with RAII.
Add a test.
Also, remove one dead function.
Details
Details
- Reviewers
mclow.lists
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This looks good to me.
Sorry for the long delay.
test/containers/sequences/vector/asan_throw.pass.cc | ||
---|---|---|
84 | I'm pretty sure that multi-element insertions do not have any exception guarantees. |
Comment Actions
Committed: r216995.
BTW, asan annotations in libc++ are already finding bugs in Chromium:
https://code.google.com/p/chromium/issues/detail?id=409051
I'm pretty sure that multi-element insertions do not have any exception guarantees.