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:
Zoltan Somogyi
2007-10-10 07:18:16 +00:00
parent 854e505f9c
commit fb4b5c30a2
11 changed files with 151 additions and 16 deletions

View File

@@ -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
#---------------------------------------------------------------------------#