Fix incorrect group1-marker flag

This commit is contained in:
2026-06-09 21:53:49 +02:00
parent 8fc755372f
commit c4bcae753b

View File

@ -193,10 +193,11 @@ local $ENV{WAMR_USE_LINEAR_POOL_IN_TEXT} =
# Select FAIL catch flags (written to runner_flags in each build dir) # Select FAIL catch flags (written to runner_flags in each build dir)
# ========================================================================================= # # ========================================================================================= #
# NOTE: The runner will prefix "-Wf," to each flag
my %catch_flag_map = ( my %catch_flag_map = (
"--catch-outer" => "--catch-outerspace", "--catch-outer" => "--catch-outerspace",
"--catch-text" => "--catch-write-textsegment", "--catch-text" => "--catch-write-textsegment",
"--wamr-exceptions" => "-Wf,--group1-marker=fail_marker_group1", "--wamr-exceptions" => "--group1-marker=fail_marker_group1",
); );
my @selected_catch_flags; my @selected_catch_flags;
if ( grep { $_ eq "fail" } @selected_targets ) { if ( grep { $_ eq "fail" } @selected_targets ) {