Supress debug calls in LLVM IR on d.godbolt.org

Johan Engelen j at j.nl
Thu May 27 22:29:36 UTC 2021


On Monday, 10 May 2021 at 13:15:12 UTC, Johan Engelen wrote:
> Hi,
>   Quickly sharing godbolt info: you can suppress the annoying 
> `call void @llvm.dbg.declare` "calls" in the LLVM IR, by 
> passing `--gline-tables-only` as cmdline flag.
> https://d.godbolt.org/z/9jMqMPf91

It's no longer needed: 
https://github.com/compiler-explorer/compiler-explorer/pull/2687

Use `-g` to get the debug calls back.

-Johan




More information about the digitalmars-d-ldc mailing list