[PATCH] D40589: Add libstd++-4.8 exceptions to ubsan_blacklist.txt

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 16:47:25 PST 2017


sbc100 updated this revision to Diff 124668.
sbc100 added a comment.

- add bug ref


https://reviews.llvm.org/D40589

Files:
  utils/sanitizers/ubsan_blacklist.txt


Index: utils/sanitizers/ubsan_blacklist.txt
===================================================================
--- utils/sanitizers/ubsan_blacklist.txt
+++ utils/sanitizers/ubsan_blacklist.txt
@@ -5,3 +5,8 @@
 
 # upcast of address with insufficient space for an object of type std::_Rb_tree_node<...>
 src:*bits/stl_tree.h
+
+# libstdc++ 4.8 creates a null reference when calling
+# data() on an empty vector: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59829
+src:*bits/stl_iterator.h
+src:*bits/stl_vector.h


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40589.124668.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171129/67f91673/attachment.bin>


More information about the llvm-commits mailing list