mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-08 10:23:03 +00:00
Allow the specification of RBMM debugging and profiling via grades.
Estimated hours taken: 2 Branches: main Allow the specification of RBMM debugging and profiling via grades. runtime/mercury_grade.h: Add rbmmd and rbmmp as grade components denoting RBMM with debugging and profiling respectively, while rbmmdp is RBMM with both. compiler/options.m: Add --use-regions-debug and --use-regions-profiling as the Mercury compiler options specifying RBMM debugging and profiling. compiler/handle_options.m: compiler/compile_target_code.m: runtime/mercury_conf_param.h: scripts/canonical_grade.sh-subr: scripts/final_grade_options.sh-subr: scripts/init_grade_options.sh-subr: scripts/mgnuc.in: scripts/parse_grade_options.sh-subr: Handle the new grade components. configure.in: Add the new option --enable-rbmm-grades, for use by Quan and me for now, that causes the installation of all four RBMM grades. Once RBMM is ready for use by non-implementors, we can change this to install only the rbmm grade, and not the rbmmd/rbmmp/rbmmdp grades.
This commit is contained in:
@@ -95,4 +95,14 @@ case $highlevel_code in true)
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# --use-regions-debug and --use-regions-profiling aren't meaningful
|
||||
# without --use-regions
|
||||
#
|
||||
case $use_regions in false)
|
||||
use_regions_debug=false
|
||||
use_regions_profiling=false
|
||||
;;
|
||||
esac
|
||||
|
||||
#---------------------------------------------------------------------------#
|
||||
|
||||
Reference in New Issue
Block a user