OSDN Git Service

android: shared_llvm.mk: add libLLVMOrcJIT to llvm_device_static_libraries
[android-x86/external-llvm.git] / utils / sanitizers / ubsan_blacklist.txt
1 # This blacklist should be applied when LLVM is built
2 # with -fsanitize=undefined instrumentation. It exists
3 # because libstdc++ has some undefined behavior issues
4 # in some of the headers, in particular, stl_tree.h.
5
6 # upcast of address with insufficient space for an object of type std::_Rb_tree_node<...>
7 src:*bits/stl_tree.h
8
9 # libstdc++ 4.8 creates a null reference when calling
10 # data() on an empty vector: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59829
11 src:*bits/stl_iterator.h
12 src:*bits/stl_vector.h
13
14 # libstdc++ 8.0.1 casts an under-aligned pointer to type type_info:
15 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85930
16 src:*bits/shared_ptr_base.h