digitalmars.D - SAOC LLDB D integration: 3rd Weekly Update
- =?ISO-8859-1?Q?Lu=EDs?= Ferreira (40/40) Oct 06 2021 Hi D community!
- Johan (10/29) Oct 10 2021 Hi Luis,
- Tobias Pankrath (3/6) Oct 12 2021 As a regular user of lldb I am looking forward to your successes.
- =?ISO-8859-1?Q?Lu=EDs?= Ferreira (6/16) Oct 14 2021 Thanks!
Hi D community! I'm here again, to describe what I've done during the third week of Symmetry Autumn of Code. According to LLVM team, the [patch](https://reviews.llvm.org/D110576) I previously sent needs to be split into smaller ones and that is a bit of a challenge. Why you may ask? Because looking at the [ABI specification](https://dlang.org/spec/abi.html) a lot of mangling nodes are dependent of each other and splitting 3000 lines of code into small, stackable and independent patches needs some planning. I tried several layouts and [this](https://pad.riseup.net/p/r.d96e7d99b8d964cca079be42c27e3656) one seems to work out the best, so I'm sticking with it. Unfortunately, this week was kinda unproductive as I mostly spent this week entirely restructuring the patch. Because I'll only push the patches when they are done, for now, my work is on [this](https://github.com/ljmf00/llvm-project/commits/add-d-demangler-split= ted ) branch, although bare in mind that this will constantly change, and to fetch new changes you need to hard reset them when pulling. During the restructure, I found out that anonymous symbols were not correctly handled and skipped, according to the specification, so I reported a [bug](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102618) and sent a [patch](https://gcc.gnu.org/pipermail/gcc-patches/2021-October/580999.html ) to fix the issue. This is part of the milestone 2, but since I had [this](https://github.com/dlang/dmd/pull/13120) patch archived for a long time I decided to push it on the weekend. Next week I hopefully finish the patch split and finally push this to the LLVM review platform. I'm also going to prepare some work for the milestone 2 that includes analyzing some DWARF info that is currently being generated by DMD/LDC/GDC compilers. --=20 Sincerely, Lu=C3=ADs Ferreira lsferreira.net
Oct 06 2021
On Wednesday, 6 October 2021 at 22:34:41 UTC, Luís Ferreira wrote:Hi D community! I'm here again, to describe what I've done during the third week of Symmetry Autumn of Code. According to LLVM team, the [patch](https://reviews.llvm.org/D110576) I previously sent needs to be split into smaller ones and that is a bit of a challenge. Why you may ask? Because looking at the [ABI specification](https://dlang.org/spec/abi.html) a lot of mangling nodes are dependent of each other and splitting 3000 lines of code into small, stackable and independent patches needs some planning. I tried several layouts and [this](https://pad.riseup.net/p/r.d96e7d99b8d964cca079be42c27e3656) one seems to work out the best, so I'm sticking with it. Unfortunately, this week was kinda unproductive as I mostly spent this week entirely restructuring the patch.Hi Luis, It's nice to read your updates and see that you are not put off by the high quality standard in the LLVM project. The way I see it, your week was not unproductive at all, because...During the restructure, I found out that anonymous symbols were not correctly handled and skipped, according to the specification... pursuing the smaller patch / more testcase path let you find a bug :) cheers, Johan
Oct 10 2021
On Wednesday, 6 October 2021 at 22:34:41 UTC, Luís Ferreira wrote:Hi D community! I'm here again, to describe what I've done during the third week of Symmetry Autumn of Code.As a regular user of lldb I am looking forward to your successes. Keep it up!
Oct 12 2021
On Tue, 2021-10-12 at 19:39 +0000, Tobias Pankrath via Digitalmars-d wrote:On Wednesday, 6 October 2021 at 22:34:41 UTC, Lu=C3=ADs Ferreira wrote:Thanks! --=20 Sincerely, Lu=C3=ADs Ferreira lsferreira.netHi D community! =20 I'm here again, to describe what I've done during the third=20 week of Symmetry Autumn of Code. =20=20 As a regular user of lldb I am looking forward to your successes.=20 Keep it up! =20
Oct 14 2021