diff options
author | Johan Engelen <jbc.engelen@gmail.com> | 2021-05-27 20:14:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 20:14:25 +0200 |
commit | b00511ea102a80b43c705b0149f25251276e7bfa (patch) | |
tree | 4246d615ad47efb75680882992d5f1562385ac97 /lib/compilers/argument-parsers.js | |
parent | 49b64a469ba8fe58fe00c341d66988023734fb7a (diff) | |
download | compiler-explorer-b00511ea102a80b43c705b0149f25251276e7bfa.tar.gz compiler-explorer-b00511ea102a80b43c705b0149f25251276e7bfa.zip |
LDC: use -gline-tables-only instead of -g by default (#2687)
This changes the default LDC compile flag from `-g` to `-gline-tables-only`, such that the LLVM IR output does not contain `call void @llvm.dbg.declare` calls that (I think) most users are not interested in. The old behavior can be restored by the user by passing `-g` (I think users are much more familiar with the `-g` option than the `-gline-tables-only` option). Line information is preserved so users can still see what IR lines correspond to user code lines.
Diffstat (limited to 'lib/compilers/argument-parsers.js')
0 files changed, 0 insertions, 0 deletions