Files
mercury/tests/WS_FLAGS.ws
Julien Fischer 06c9ecbb6b Fix github issue #89.
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.
2020-05-17 01:12:39 +10:00

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