DMD backend quality (Was: Re: DIP 1031--Deprecate Brace-Style Struct Initializers--Community Review Round 1 Discussion)
Mathias Lang
pro.mathias.lang at gmail.com
Mon Feb 17 05:44:32 UTC 2020
On Monday, 17 February 2020 at 02:54:09 UTC, Walter Bright wrote:
> On 2/16/2020 6:07 PM, Mathias Lang wrote:
>> (DWARF debug infos are completely broken on OSX),
> I hear this now and then about the DWARF output, but there are
> ZERO bug reports on it.
>
> I use gdb myself on OSX and Linux, and while I don't much care
> for gdb, it works.
Really ?
- I mentioned last time in the Skype meeting;
- we put a bounty on it (blog post:
https://dlang.org/blog/2019/08/17/bug-bounties-have-arrived/ and
bounty itself:
https://www.flipcause.com/secure/cause_pdetails/NjI2NjQ=)
- there is a bugzilla issue:
https://issues.dlang.org/show_bug.cgi?id=20460
- I opened a PR detailing the issue in great details:
https://github.com/dlang/dmd/pull/10722
And people are not going to mention "DWARF" in bugzilla, they're
going to say "stack traces are broken but I can't reproduce with
a small example" (in this case it depends on the order the root
modules are passed to the compiler). I was lucky to be familiar
enough with the compiler to notice the pattern, but it did take
me a while.
Also which OS version / gdb version are you using ? On a
relatively recent Mac, GDB barely works and LLDB is a much better
place to get started.
More information about the Digitalmars-d
mailing list