-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-sanitizer-blacklist
50 lines (47 loc) · 2.09 KB
/
.clang-sanitizer-blacklist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[undefined]
src:*/dune/uggrid/gm/gm.h
src:*/dune/uggrid/gm/enrol.cc
src:*/dune/uggrid/gm/ugm.cc
src:*/dune/uggrid/gm/elements.cc
src:*/dune/uggrid/parallel/dddif/initddd.cc
src:*tbb/task.h
src:*tbb/internal/../task.h
src:*tbb/parallel_reduce.h
src:*tbb/enumerable_thread_specific.h
# When called with an initial defect of 0, the iterative solvers divide by 0
# and thus clang-sanitizer complains. Starting with clang-9, float-division-by-zero
# is not contained in -fsanitize=undefined, so we can remove this again once we use at
# least clang-9.
src:*dune/istl/solver.hh
# The following is only needed for the python tests, and only for clang-8 (and maybe for clang-9?).
# Without these lines, there are a lot of false positives like
#
# member call on address 0x60c0000f6d00 which does not point to an object of type 'Dune::XT::Functions::FunctionInterface<1, 1, 1, double>'
# 0x60c0000f6d00: note: object is of type 'Dune::XT::Functions::ConstantFunction<1ul, 1ul, 1ul, double>'
#
# so a call to a derived class through a base class pointer will give an error.
# See https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt/-/merge_requests/44#note_99654
#
# Clang-10 does not show these false positives, so we can remove the following lines when using clang-10 (or maybe already clang-9?)
src:*/8/bits/unique_ptr.h
src:*/8/bits/std_function.h
src:*/8/bits/shared_ptr_base.h
src:*dune/grid/utility/structuredgridfactory.hh
src:*dune/alugrid/*
src:*/python/dune/xt/*
src:*/dune/gdt/operators/matrix.hh
src:*/dune/gdt/operators/bilinear-form.hh
src:*/dune/pybindxi/*
src:*dune/xt/common/parallel/threadstorage.hh
src:*dune/xt/grid/bound-object.hh
src:*dune/xt/grid/walker.hh
src:*dune/xt/functions/base/function-as-grid-function.hh
src:*dune/xt/functions/interfaces/function.hh
src:*dune/xt/functions/grid-function.hh
src:*dune/xt/functions/interfaces/grid-function.hh
src:*dune/gdt/local/assembler/bilinear-form-assemblers.hh
src:*dune/gdt/local/bilinear-forms/integrals.hh
src:*dune/gdt/local/integrands/laplace.hh
src:*dune/gdt/operators/matrix-based.hh
src:*dune/gdt/tools/sparsity-pattern.hh
src:*/python/dune/gdt/*