www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Supress debug calls in LLVM IR on d.godbolt.org

reply Johan Engelen <j j.nl> writes:
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

cheers,
   Johan
May 10
parent Johan Engelen <j j.nl> writes:
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
May 27