Enable/disable wamr exception handler marker from build menu
This commit is contained in:
@ -193,6 +193,7 @@ if ( $selected_allocator_variant eq $allocator_variants[1] ) {
|
||||
my %catch_flag_map = (
|
||||
"--catch-outer" => "--catch-outerspace",
|
||||
"--catch-text" => "--catch-write-textsegment",
|
||||
"--wamr-exceptions" => "-Wf,--group1-marker=fail_marker_group1",
|
||||
);
|
||||
my @selected_catch_flags;
|
||||
if ( grep { $_ eq "fail" } @selected_targets ) {
|
||||
|
||||
@ -180,8 +180,8 @@ sub import_trace {
|
||||
"$fail_prune", "--database-option-file $remote_db_conf",
|
||||
"-v $experiment", "-b %%",
|
||||
|
||||
'-p NoPruner',
|
||||
# '-p BasicPruner',
|
||||
# '-p NoPruner',
|
||||
'-p BasicPruner',
|
||||
"--overwrite", ">$remote_builds_dir/$experiment/2_prune.log 2>&1"
|
||||
);
|
||||
say "Prune command: $prune_command";
|
||||
@ -237,7 +237,7 @@ sub inject {
|
||||
"-Wf,--detected-marker=fail_marker_detected",
|
||||
|
||||
# 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user