diff options
author | quantimnot <54247259+quantimnot@users.noreply.github.com> | 2022-06-10 14:40:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 20:40:08 +0200 |
commit | 6f4bacff67e2e219ef914e24d9f9aaf34a6d1eb1 (patch) | |
tree | a77b7708c6405f672dc7d105bc60cd0bf0f185a5 /doc/koch.rst | |
parent | 1e5dd9022b0d86d63d616431a0f9959ca4c10f40 (diff) | |
download | Nim-6f4bacff67e2e219ef914e24d9f9aaf34a6d1eb1.tar.gz |
Extend and document compiler debugging utilities (#19841)
* Add two debugutils procs that native debuggers can break on use to execute commands when code of interest is being compiled. * Add GDB and LLDB programs to disable and enable breakpoints and watchpoints when code of interest is being compiled. * Extend the `intern.rst` docs regarding debugging the compiler. Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
Diffstat (limited to 'doc/koch.rst')
-rw-r--r-- | doc/koch.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/koch.rst b/doc/koch.rst index b8d85dff4..91dd5d570 100644 --- a/doc/koch.rst +++ b/doc/koch.rst @@ -38,6 +38,9 @@ options: unless you are debugging the compiler. -d:nimUseLinenoise Use the linenoise library for interactive mode (not needed on Windows). +-d:leanCompiler Produce a compiler without JS codegen or + documentation generator in order to use less RAM + for bootstrapping. After compilation is finished you will hopefully end up with the nim compiler in the `bin` directory. You can add Nim's `bin` directory to |