Re: [PATCH 2/2] RISC-V: Use dynamic shadow offset

2024-11-24 Thread Kito Cheng
committed :)

On Wed, Nov 20, 2024 at 3:26 AM Jeff Law  wrote:
>
>
>
> On 11/14/24 9:14 PM, Kito Cheng wrote:
> > Switch to dynamic offset so that we can support Sv39, Sv48, and Sv57 at
> > the same time without building multiple libasan versions!
> >
> > [1] 
> > https://github.com/llvm/llvm-project/commit/da0c8b275564f814a53a5c19497669ae2d99538d
> >
> > gcc/ChangeLog:
> >
> >   * config/riscv/riscv.cc (riscv_asan_shadow_offset): Use dynamic
> >   offset for RV64.
> >   (riscv_asan_dynamic_shadow_offset_p): New.
> OK once prereqs are committed.
>
> jeff
>


Re: [PATCH 2/2] RISC-V: Use dynamic shadow offset

2024-11-20 Thread Jeff Law




On 11/14/24 9:14 PM, Kito Cheng wrote:

Switch to dynamic offset so that we can support Sv39, Sv48, and Sv57 at
the same time without building multiple libasan versions!

[1] 
https://github.com/llvm/llvm-project/commit/da0c8b275564f814a53a5c19497669ae2d99538d

gcc/ChangeLog:

* config/riscv/riscv.cc (riscv_asan_shadow_offset): Use dynamic
offset for RV64.
(riscv_asan_dynamic_shadow_offset_p): New.

OK once prereqs are committed.

jeff