Re: LDC 1.23.0
On Wednesday, 19 August 2020 at 23:47:34 UTC, kinke wrote: On Wednesday, 19 August 2020 at 23:30:30 UTC, Basile B. wrote: gdwarf really ? this is possible ? Not that this is not a great news but you told me once this was not quite possible (https://forum.dlang.org/post/ttblgcwiwmdhyukzp...@forum.dlang.org). I said that LDC/LLVM generate CodeView, but knew that clang can emit it. Shortly after your post, another guy asked for DWARF on Windows, so I did a little bit of digging. I haven't properly tested it (no working gdb/lldb on my Windows box), You can get gdb for windows by installing Lazarus or even more simply try one of the alternative version that they propose [1]. feedback is appreciated. I will test the feature soon, since now I want to see if the GDB GUI of my IDE can be activated or not on windows. [1] https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Alternative%20GDB/
Re: LDC 1.23.0
On Wednesday, 19 August 2020 at 23:30:30 UTC, Basile B. wrote: gdwarf really ? this is possible ? Not that this is not a great news but you told me once this was not quite possible (https://forum.dlang.org/post/ttblgcwiwmdhyukzp...@forum.dlang.org). I said that LDC/LLVM generate CodeView, but knew that clang can emit it. Shortly after your post, another guy asked for DWARF on Windows, so I did a little bit of digging. I haven't properly tested it (no working gdb/lldb on my Windows box), so feedback is appreciated.
Re: LDC 1.23.0
On Wednesday, 19 August 2020 at 17:45:46 UTC, kinke wrote: Glad to announce LDC 1.23 - some highlights: - Based on D 2.093.1+. - LLVM for prebuilt packages bumped to v10.0.1; min version raised to 6.0. - Cross-compiling to the iOS/x86_64 simulator now works out-of-the-box with the prebuilt Mac package. - Windows: New -gdwarf command-line option for debugging with gdb/lldb. - Fix linker errors for -betterC wrt. cleanups (structs with dtor, `scope(exit)`). Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.23.0 Thanks to all contributors! gdwarf really ? this is possible ? Not that this is not a great news but you told me once this was not quite possible (https://forum.dlang.org/post/ttblgcwiwmdhyukzp...@forum.dlang.org).
Re: LDC 1.23.0
On Wed, Aug 19, 2020 at 05:45:46PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.23 - some highlights: > > - Based on D 2.093.1+. > - LLVM for prebuilt packages bumped to v10.0.1; min version raised to > 6.0. > - Cross-compiling to the iOS/x86_64 simulator now works out-of-the-box > with the prebuilt Mac package. > - Windows: New -gdwarf command-line option for debugging with > gdb/lldb. > - Fix linker errors for -betterC wrt. cleanups (structs with dtor, > `scope(exit)`). > > Full release log and downloads: > https://github.com/ldc-developers/ldc/releases/tag/v1.23.0 [...] Awesome!!! Big thanks to the LDC team and everyone involved in making this possible. Going to upgrade right now! T -- The peace of mind---from knowing that viruses which exploit Microsoft system vulnerabilities cannot touch Linux---is priceless. -- Frustrated system administrator.
Re: LDC 1.23.0
On Wednesday, 19 August 2020 at 17:45:46 UTC, kinke wrote: Glad to announce LDC 1.23 - some highlights: - Based on D 2.093.1+. - LLVM for prebuilt packages bumped to v10.0.1; min version raised to 6.0. - Cross-compiling to the iOS/x86_64 simulator now works out-of-the-box with the prebuilt Mac package. - Windows: New -gdwarf command-line option for debugging with gdb/lldb. - Fix linker errors for -betterC wrt. cleanups (structs with dtor, `scope(exit)`). Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.23.0 Thanks to all contributors! Good! ;) Upgrading it! thanks all!
Re: LDC 1.23.0-beta1
On Wednesday, 15 July 2020 at 20:35:38 UTC, kinke wrote: Glad to announce the first beta for LDC 1.23 - some highlights: - Based on D 2.093.0+. - Min required LLVM version raised to 6.0. - Cross-compiling to the iOS/x86_64 simulator now works out-of-the-box with the prebuilt Mac package. - Fix linker errors for -betterC wrt. cleanups (structs with dtor, `scope(exit)`). Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.23.0-beta1 Please help test, and thanks to all contributors! Good work!
Re: LDC 1.23.0-beta1
Just found an old bug. Atomics modify immutable data: --- import ldc.intrinsics; void f(immutable int* a) { llvm_atomic_rmw_add(a,1); } ---