From ba3809f1be41bec92385b3e023269145dde4e5b2 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 24 Aug 2015 20:13:19 -0700 Subject: Document previously undocumented command line options. * txr.1: Documented --gc-debug, --vg-debug and --dv-regex. * txr.c (help): Cover above options. --- txr.1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index 6cb58443..31925502 100644 --- a/txr.1 +++ b/txr.1 @@ -729,6 +729,27 @@ or .code -P options. +.coIP --gc-debug +This option enables a behavior which stresses the garbage collector with +frequent garbage collection requests. The purpose is to make it more likely +to reproduce certain kinds of bugs. It makes \*(TX run very slowly. + +.coIP --vg-debug +If \*(TX is enabled with Valgrind support, then this option is available. +It enables code which uses the Valgrind API to integrate with the Valgrind +debugger, for more accurate tracking of garbage collected objects. For +example, objects which have been reclaimed by the garbage collector +are marked as inaccessible, and marked as uninitialized when they are +allocated again. + +.coIP --dv-regex +If this option is used, then regular expressions are all treated using the +derivative-based back-end. The NFA-based regex implementation is disabled. +Normally, only regular expressions which require the intersection and +complement operators are handled using the derivative back-end. +This option makes it possible to test that back-end on test cases that it +wouldn't normally receive. + .coIP -- Signifies the end of the option list. -- cgit v1.2.3