aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-deps.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-01-09 08:46:59 -0800
committerH.J. Lu <(no_default)>2024-01-18 05:03:57 -0800
commitaf66955000e38eeba5992641f98a4749cfeb8854 (patch)
tree80aefd4532c4bf462d5d66531d4f6039ddc1260a /gcc/sched-deps.cc
parentac913d5d518604c5baf7274bed76e3ff8f3e4c08 (diff)
downloadgcc-af66955000e38eeba5992641f98a4749cfeb8854.zip
gcc-af66955000e38eeba5992641f98a4749cfeb8854.tar.gz
gcc-af66955000e38eeba5992641f98a4749cfeb8854.tar.bz2
hwasan: Check if Intel LAM_U57 is enabled
When -fsanitize=hwaddress is used, libhwasan will try to enable LAM_U57 in the startup code. Update the target check to enable hwaddress tests if LAM_U57 is enabled. Also compile hwaddress tests with -mlam=u57 on x86-64 since hwasan requires LAM_U57 on x86-64. * lib/hwasan-dg.exp (check_effective_target_hwaddress_exec): Return 1 if Intel LAM_U57 is enabled. (hwasan_init): Add -mlam=u57 on x86-64.
Diffstat (limited to 'gcc/sched-deps.cc')
0 files changed, 0 insertions, 0 deletions