# This blacklist should be applied when LLVM is built
# with -fsanitize=undefined instrumentation. It exists
# because libstdc++ has some undefined behavior issues
# in some of the headers, in particular, stl_tree.h.

# 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

# This blacklist should be applied when LLVM is built
# with -fsanitize=undefined instrumentation. It exists
# because libstdc++ has some undefined behavior issues
# in some of the headers, in particular, stl_tree.h.

# 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

# libstdc++ 8.0.1 casts an under-aligned pointer to type type_info:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930
src:*bits/shared_ptr_base.h

Add a ubsan blacklist entry for libstdc++ 8.0.1.
Add a ubsan blacklist entry for libstdc++ 8.0.1.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@347436 91177308-0d34-0410-b5e6-96231b3b80d8
