diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-26 18:33:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-26 18:33:46 -0700 |
commit | 6c8d43bae5a967fc2ffe9fab3f90344b23ce580b (patch) | |
tree | cd4f618274d245f8101373aaa609b9ace1226e36 /txr.1 | |
parent | 572f13d7b95bb265fed622b4e4c9a1ed11eefcc4 (diff) | |
download | txr-6c8d43bae5a967fc2ffe9fab3f90344b23ce580b.tar.gz txr-6c8d43bae5a967fc2ffe9fab3f90344b23ce580b.tar.bz2 txr-6c8d43bae5a967fc2ffe9fab3f90344b23ce580b.zip |
doc: document --free-all
* txr.1: the --free-all command line option appeared in TXR
144 in 2016, but was never documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -965,6 +965,15 @@ example, objects which have been reclaimed by the garbage collector are marked as inaccessible, and marked as uninitialized when they are allocated again. +.coIP --free-all +This option specifies that all memory allocated by \*(TX should be freed upon +normal termination. This behavior is useful for debugging memory leaks. +An accurate leak detection tool, such as the one built into Valgrind, +should report zero leaked or still reachable memory if +.code --free-all +has been used and \*(TX has terminated normally. +that indicates either a leak in \*(TX, a leak or global object retention +in a platform library, or else a a leak introduced due to misuse of FFI. .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. |