[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests/docker: only enable ubsan for test-clang
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] tests/docker: only enable ubsan for test-clang |
Date: |
Sun, 6 Oct 2019 18:06:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 01/10/19 19:59, John Snow wrote:
>
> it looked quite like --enable-sanitizers was indeed the same as
> -fsanitize=undefined; or at least was a superset of such.
>
> I suppose the argument you're making here is that we *only* want ubsan
> for test-clang?
>
> (I guess so, since test-debug also stipulates that clang be used; but
> enables debug.)
>
> In this case, is there a use for test-clang at all, actually?
Yes, test-clang checks that clang-specific warnings do not fire.
Enabling ubsan isn't particularly useful in this respect, but it's okay
for me to keep it.
Paolo