[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL v2 05/13] target/rx: CPU definitions
From: |
Peter Maydell |
Subject: |
Re: [PULL v2 05/13] target/rx: CPU definitions |
Date: |
Fri, 20 Mar 2020 16:37:10 +0000 |
On Fri, 20 Mar 2020 at 16:32, Philippe Mathieu-Daudé <address@hidden> wrote:
> -fwrapv is here indeed.
>
> I use
> --extra-cflags=-fsanitize=address,alignment,array-bounds,bool,builtin,enum,float-cast-overflow,float-divide-by-zero,function,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound,vptr
There was a bug in older clang versions where the shift-base
sanitizer didn't honour -fwrapv:
https://bugs.llvm.org/show_bug.cgi?id=25552
https://wiki.qemu.org/Testing#clang_UBSan
says you can work around the clang bug with -fno-sanitize=shift-base.
The bug was fixed upstream back in 2016, though, so the
fix ought to be in clang 4, I think. Are you using an
old clang version, or has it regressed in newer clang?
thanks
-- PMM
- [PULL v2 00/13] target: Add the Renesas RX architecture, Philippe Mathieu-Daudé, 2020/03/20
- [PULL v2 05/13] target/rx: CPU definitions, Philippe Mathieu-Daudé, 2020/03/20
- Re: [PULL v2 05/13] target/rx: CPU definitions, Philippe Mathieu-Daudé, 2020/03/20
- Re: [PULL v2 05/13] target/rx: CPU definitions, Richard Henderson, 2020/03/20
- Re: [PULL v2 05/13] target/rx: CPU definitions, Peter Maydell, 2020/03/20
- Re: [PULL v2 05/13] target/rx: CPU definitions, Philippe Mathieu-Daudé, 2020/03/20
- Re: [PULL v2 05/13] target/rx: CPU definitions,
Peter Maydell <=
- Re: [PULL v2 05/13] target/rx: CPU definitions, Philippe Mathieu-Daudé, 2020/03/21
- Re: [PULL v2 05/13] target/rx: CPU definitions, Philippe Mathieu-Daudé, 2020/03/21
Re: [PULL v2 00/13] target: Add the Renesas RX architecture, Peter Maydell, 2020/03/20