]> git.ipfire.org Git - thirdparty/gcc.git/commit
hwasan: Always set target_hwasan_flags
authorH.J. Lu <(no_default)>
Thu, 18 Jan 2024 15:11:12 +0000 (07:11 -0800)
committerH.J. Lu <(no_default)>
Thu, 18 Jan 2024 15:14:16 +0000 (07:14 -0800)
commit48c8d26d771a5dcf721529b1ca91737a2eff6c13
treefa86c26286fe7b61fe51b97dc834395d0376871c
parentd190a5553a1a8e8c279f96a998a5343fdd3feb8b
hwasan: Always set target_hwasan_flags

Fix the "make check" error:

Running .../gcc/testsuite/gcc.dg/hwasan/hwasan.exp ...
ERROR: tcl error sourcing .../gcc/testsuite/gcc.dg/hwasan/hwasan.exp.
ERROR: tcl error code TCL LOOKUP VARNAME target_hwasan_flags
ERROR: can't read "target_hwasan_flags": no such variable
...

on non-x86-64 targets.

* lib/hwasan-dg.exp (hwasan_init): Always set target_hwasan_flags.
gcc/testsuite/lib/hwasan-dg.exp