Replies: 2 comments
-
I see that for the CI leak detection is turned off: nvc/.github/workflows/build-test.yml Line 36 in 5b805da Is there a specific reason? Are all detected leaks false-positives? Or should one have a closer look? |
Beta Was this translation helpful? Give feedback.
-
Clang checks some different things and I normally build with GCC. I think you mean ubsan errors here? Asan shouldn't have errors with either compiler. I fixed most of the ubsan warnings from Clang on my Mac. The one about unaligned access in
They are mostly benign leaks of objects that are allocated once and then persist until exit. I check these occasionally but I don't think there's anything worth worrying about. |
Beta Was this translation helpful? Give feedback.
-
I tried to compile NVC with
clang
and enable the flags--enable-asan
or--enable-ubsan
which produced an ungodly amount of runtime errors detected by either sanitizers.If I compile NVC with
gcc
and only enable--enable-asan
, then it seems to work ok.What combinations are supported? Or is clang not supported at all?
Beta Was this translation helpful? Give feedback.
All reactions