-
Notifications
You must be signed in to change notification settings - Fork 11
/
README-development
37 lines (27 loc) · 1.04 KB
/
README-development
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
Program Instrumentation: Sanitizers
-----------------------------------
$ ./configure CXXFLAGS='-O0 -ggdb -fsanitize=address -fsanitize=undefined'
This compiles the nvptx-tools proper (but not libiberty) with the specified
sanitizers enabled.
If the 'run' test cases fail due to:
nvptx-run: cuInit failed: out of memory (CUDA_ERROR_OUT_OF_MEMORY, 2)
..., per <https://github.com/google/sanitizers/issues/629>
"asan: problem calling NVIDIA CUDA libraries" run with
'ASAN_OPTIONS=protect_shadow_gap=false', to override the 'true' default;
<https://github.com/google/sanitizers/wiki/AddressSanitizerFlags#run-time-flags>.
Imported Files
--------------
A number of files are imported from GCC:
- 'COPYING3'
- 'config.guess'
- 'config.sub'
- 'config/ChangeLog' (partial)
- 'config/acx.m4' (partial)
- 'config/ax_cxx_compile_stdcxx.m4'
- 'config/warnings.m4'
- 'include/'
- 'install-sh'
- 'libiberty/'
- 'mkinstalldirs'
- 'move-if-change'
These correspond to GCC commit b8e9fd535d6093e3a24af858364d8517a767b0d7 (2024-04-26).