Enable/disable wamr exception handler marker from build menu

This commit is contained in:
2026-06-09 13:56:35 +02:00
parent 454a85043f
commit 7a3a23b4d6
2 changed files with 4 additions and 3 deletions

View File

@ -193,6 +193,7 @@ if ( $selected_allocator_variant eq $allocator_variants[1] ) {
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",
); );
my @selected_catch_flags; my @selected_catch_flags;
if ( grep { $_ eq "fail" } @selected_targets ) { if ( grep { $_ eq "fail" } @selected_targets ) {

View File

@ -180,8 +180,8 @@ sub import_trace {
"$fail_prune", "--database-option-file $remote_db_conf", "$fail_prune", "--database-option-file $remote_db_conf",
"-v $experiment", "-b %%", "-v $experiment", "-b %%",
'-p NoPruner', # '-p NoPruner',
# '-p BasicPruner', '-p BasicPruner',
"--overwrite", ">$remote_builds_dir/$experiment/2_prune.log 2>&1" "--overwrite", ">$remote_builds_dir/$experiment/2_prune.log 2>&1"
); );
say "Prune command: $prune_command"; say "Prune command: $prune_command";
@ -237,7 +237,7 @@ sub inject {
"-Wf,--detected-marker=fail_marker_detected", "-Wf,--detected-marker=fail_marker_detected",
# Called in WAMR exception handler (disable for C compilation target!) # Called in WAMR exception handler (disable for C compilation target!)
"-Wf,--group1-marker=fail_marker_group1", # "-Wf,--group1-marker=fail_marker_group1",
">/dev/null 2>&1" ">/dev/null 2>&1"