mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
The current source-to-source debugger transformation cannot handle the
predicates introduced by higher-order specialization. There are likely similar
issues with other HLDS->HLDS transformations.
The fix (for now) is to disable most HLDS->HLDS transformations in .ssdebug
grades.
compiler/handle_options.m:
Disable most HLDS->HLDS optimizations when the ss-trace level is
shallow or deep.
Add an XXX comment about a separate issue.
compiler/ssdebug.m:
Add an XXX comment about predicates produced by higher-order
specialization.
tests/WS_FLAGS.ws:
Add a missing include.
tests/valid/Mmakefile:
tests/valid/Mercury.options:
tests/valid/gh89.m:
Add the test case from github issue 89.
22 lines
813 B
Plaintext
22 lines
813 B
Plaintext
--no-mercury-stdlib-dir
|
|
-I@WORKSPACE@/library
|
|
-I@WORKSPACE@/browser
|
|
-I@WORKSPACE@/mdbcomp
|
|
-I@WORKSPACE@/ssdb
|
|
--c-include-directory @WORKSPACE@/boehm_gc
|
|
--c-include-directory @WORKSPACE@/boehm_gc/include
|
|
--c-include-directory @WORKSPACE@/runtime
|
|
--c-include-directory @WORKSPACE@/library
|
|
--c-include-directory @WORKSPACE@/library/Mercury/mihs
|
|
--c-include-directory @WORKSPACE@/mdbcomp
|
|
--c-include-directory @WORKSPACE@/mdbcomp/Mercury/mihs
|
|
--c-include-directory @WORKSPACE@/browser
|
|
--c-include-directory @WORKSPACE@/browser/Mercury/mihs
|
|
--c-include-directory @WORKSPACE@/trace
|
|
--c-include-directory @WORKSPACE@/ssdb
|
|
--c-include-directory @WORKSPACE@/ssdb/Mercury/mihs
|
|
--linkage shared
|
|
--csharp-flags -lib:@WORKSPACE@/library
|
|
--csharp-flags -r:mer_std.dll
|
|
--config-file @WORKSPACE@/scripts/Mercury.config.bootstrap
|