Skip to content

Commit

Permalink
remove deprecated --output-jit-bc option (#41100)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Jun 7, 2021
1 parent 51f5740 commit 7c79849
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions doc/src/devdocs/llvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ cc -shared -o sys.so sys.o
```
This system image can then be loaded by `julia` as usual.

Alternatively, you can
use `--output-jit-bc jit.bc` to obtain a trace of all IR passed to the JIT.
This is useful for code that cannot be run as part of the sysimg generation
process (e.g. because it creates unserializable state). However, the resulting
`jit.bc` does not include sysimage data, and can thus not be used as such.

It is also possible to dump an LLVM IR module for just one Julia function,
using:
```julia
Expand Down
1 change: 0 additions & 1 deletion src/jloptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ static const char opts_hidden[] =

// compiler debugging (see the devdocs for tips on using these options)
" --output-unopt-bc name Generate unoptimized LLVM bitcode (.bc)\n"
" --output-jit-bc name Dump all IR generated by the frontend (not including system image)\n"
" --output-bc name Generate LLVM bitcode (.bc)\n"
" --output-asm name Generate an assembly file (.s)\n"
" --output-incremental=no Generate an incremental output file (rather than complete)\n"
Expand Down

0 comments on commit 7c79849

Please sign in to comment.