aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2024-11-15 12:14:55 +0800
committerKito Cheng <kito.cheng@sifive.com>2024-11-25 06:35:37 +0000
commitc84a8a274af3163a4042bcfd77dd1988bd1eb0ce (patch)
treeef7f0ad7be5e95a49dcb6f61101b3e935e51d1fb /gcc/system.h
parent63c68752768fd6d67c695e09c85e0e1ca59cd6d4 (diff)
downloadgcc-c84a8a274af3163a4042bcfd77dd1988bd1eb0ce.zip
gcc-c84a8a274af3163a4042bcfd77dd1988bd1eb0ce.tar.gz
gcc-c84a8a274af3163a4042bcfd77dd1988bd1eb0ce.tar.bz2
RISC-V: Use dynamic shadow offset
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. (TARGET_ASAN_DYNAMIC_SHADOW_OFFSET_P): New. gcc/testsuite/ChangeLog: * g++.dg/asan/asan_test.cc: Update the testcase for dynamic offset.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions