Thread overview
Not Working on the Mac
Jul 14, 2023
Walter Bright
Jul 14, 2023
Johan
Jul 15, 2023
kinke
Jul 20, 2023
Walter Bright
Jul 20, 2023
cryptonian
July 14, 2023
This problem:

https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573

was apparently fixed on LDC:

https://forum.dlang.org/post/himxshnmnapmyipsvqlq@forum.dlang.org

with this PR:

https://github.com/ldc-developers/ldc/pull/3868/files

I don't understand the internals of LDC, and would appreciate it if someone took this in hand and developed the equivalent in DMD.

Thanks!
July 14, 2023

On 7/14/23 3:27 PM, Walter Bright wrote:

>

This problem:

https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573

was apparently fixed on LDC:

https://forum.dlang.org/post/himxshnmnapmyipsvqlq@forum.dlang.org

with this PR:

https://github.com/ldc-developers/ldc/pull/3868/files

I don't understand the internals of LDC, and would appreciate it if someone took this in hand and developed the equivalent in DMD.

I want to point out that re-examining that pull request, it did not fix the problem. There was a later PR that does:

https://github.com/ldc-developers/ldc/pull/4291

-Steve

July 14, 2023

On Friday, 14 July 2023 at 22:15:48 UTC, Steven Schveighoffer wrote:

>

On 7/14/23 3:27 PM, Walter Bright wrote:

>

This problem:

https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573

was apparently fixed on LDC:

https://forum.dlang.org/post/himxshnmnapmyipsvqlq@forum.dlang.org

with this PR:

https://github.com/ldc-developers/ldc/pull/3868/files

I don't understand the internals of LDC, and would appreciate it if someone took this in hand and developed the equivalent in DMD.

I want to point out that re-examining that pull request, it did not fix the problem. There was a later PR that does:

https://github.com/ldc-developers/ldc/pull/4291

The important part of the PR is to stop emitting the debug info section as a "regular" section, and instead make it a "debug" section (which is then stripped by the linker).

-Johan

July 15, 2023

On Friday, 14 July 2023 at 22:32:57 UTC, Johan wrote:

>

The important part of the PR is to stop emitting the debug info section as a "regular" section, and instead make it a "debug" section (which is then stripped by the linker).

For DMD, that'd be reverting https://github.com/dlang/dmd/pull/8168.

July 20, 2023
On Friday, 14 July 2023 at 19:27:07 UTC, Walter Bright wrote:
> This problem:
>
> https://www.digitalmars.com/d/archives/digitalmars/D/D_has_become_unbearable_and_it_needs_to_stop_369162.html#N369573
>
> was apparently fixed on LDC:
>
> https://forum.dlang.org/post/himxshnmnapmyipsvqlq@forum.dlang.org
>
> with this PR:
>
> https://github.com/ldc-developers/ldc/pull/3868/files
>
> I don't understand the internals of LDC, and would appreciate it if someone took this in hand and developed the equivalent in DMD.
>
> Thanks!

Have you tried an alternative method
July 20, 2023
On 7/15/2023 12:28 AM, kinke wrote:
> On Friday, 14 July 2023 at 22:32:57 UTC, Johan wrote:
>> The important part of the PR is to _stop_ emitting the debug info section as a "regular" section, and instead make it a "debug" section (which is then stripped by the linker).
> 
> For DMD, that'd be reverting https://github.com/dlang/dmd/pull/8168.

Um, why not just change the section to "debug"?