Commit bf78991
committed
Fix sanitizer CI for the C++ KMIP client
The backend failed to load pg_tde.so under sanitizers with "undefined
symbol: __ubsan_vptr_type_cache", so every test that starts a server
errored. That symbol is provided only by the C++-only UBSan runtime
(ubsan_standalone_cxx), which is not linked into the C postgres backend
that dlopens the module. Disable the vptr check for the C++ objects and
build the C++ sources/links with the sanitizer flags (CXX=clang++) so a
single clang ASan/UBSan runtime is used throughout.
Also drop the non-existent llvm-symbolizer-14 path so ASan locates a
working symbolizer, and ignore geninfo version mismatches in coverage.1 parent 34534c9 commit bf78991
3 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments