mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-11 20:03:28 +00:00
Estimated hours taken: 4 Branches: main Enable the new grade specifiers, ll_debug and gcd. ll_debug means compile with -O0 and -g. gcd means compile the boehm_gc with #defines that allow memory leaks to be debugged. boehm_gc/Makefile: Use findstring to see which grade specifiers are available. Only add BOEHM_CFLAGS_FOR_THREADS if par in GRADE. Only define NO_DEBUGGING if we are not in gcd. compiler/compile_target_code.m: compiler/globals.m: compiler/handle_options.m: Handle the gc_boehm_debug. compiler/handle_options.m: runtime/mercury_grade.h: scripts/canonical_grade.sh-subr: scripts/init_grade_options.sh-subr: scripts/parse_grade_options.sh-subr: Handle the new grade specifiers. scripts/mgnuc.in: Set the #defines implied by the new grade specifiers. scripts/ml.in: Calculate the name of the boehm_gc library.