<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>debugging on luis space</title>
    <link>/tags/debugging/</link>
    <description>Recent content in debugging on luis space</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright>
    <lastBuildDate>Fri, 14 Jan 2022 20:49:00 +0100</lastBuildDate><atom:link href="/tags/debugging/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SAOC LLDB D integration: 17th Weekly Update</title>
      <link>/posts/d-saoc-2021-17/</link>
      <pubDate>Fri, 14 Jan 2022 20:49:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-17/</guid>
      <description>Hi D community!
Sorry for being late. I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the seventeenth week of Symmetry Autumn of Code.
LLVM upstream updates This week I finished working on the three patches I was working about demangling and finally merged them in the LLVM upstream:
https://reviews.llvm.org/D111416 https://reviews.llvm.org/D111417 https://reviews.llvm.org/D111419 I also added another trivial patch to pass values by reference instead of a pointer, requested by dblaikie:</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 16th Weekly Update</title>
      <link>/posts/d-saoc-2021-16/</link>
      <pubDate>Fri, 07 Jan 2022 03:12:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-16/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the sixteenth week of Symmetry Autumn of Code.
LLVM upstream updates This week I continued my work on the demangler patches, including the next 3 patches related to minimal type parsing and symbol/type back referencing. I removed most of the types in this next patch, due to the fact that it requires other dependencies to be visually tested.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 15th Weekly Update</title>
      <link>/posts/d-saoc-2021-15/</link>
      <pubDate>Thu, 30 Dec 2021 23:00:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-15/</guid>
      <description>Hi D community!
Sorry for being late. I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the fifteenth week of Symmetry Autumn of Code.
LLVM upstream changes: LLD D demangling I didn&amp;rsquo;t work on the demangler patches but I touched on some other existing ones, such as implementation of DW_TAG_immutable_type on the LLVM core which had some missing pieces and added tests. (See here)
I also added support for other demanglers other than Itanium on LLD linker.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 14th Weekly Update</title>
      <link>/posts/d-saoc-2021-14/</link>
      <pubDate>Thu, 23 Dec 2021 19:18:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-14/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the fourteenth week of Symmetry Autumn of Code. Updates on my COVID situation: I successfully recovered from it, just feel some tiredness and lack of energy sometimes, but other than that, dry cough is now occasional and I already recovered from the other symptoms such as lack of smell and taste, and fever. Nothing to worry, from now on :)</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 13th Weekly Update</title>
      <link>/posts/d-saoc-2021-13/</link>
      <pubDate>Thu, 16 Dec 2021 23:34:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-13/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the thirteenth week of Symmetry Autumn of Code. This week as a bit atypical as I got infected with COVID-19 and this made me feel exhausted both physically and mentally.
Working approach to fetch basic types After digging a bit about the problem I found out there is no problem specifically in Release builds, and a simple function called Verify is there to double check if the type is correct for Debug builds.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 12th Weekly Update</title>
      <link>/posts/d-saoc-2021-12/</link>
      <pubDate>Thu, 09 Dec 2021 15:25:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-12/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the twelfth week of Symmetry Autumn of Code.
LLVM upstream follow up update Two more patches in the D demangling patch train got merged!
https://reviews.llvm.org/D114308 https://reviews.llvm.org/D114309 After getting my testsuite working reasonably well, I self merged those two accepted patches. I&amp;rsquo;ve contacted some LLVM members to figure out why buildbots were not reproducing my errors, and it seems some tests are not running on their testsuite, hence the error.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 11th Weekly Update</title>
      <link>/posts/d-saoc-2021-11/</link>
      <pubDate>Thu, 02 Dec 2021 16:31:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-11/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the eleventh week of Symmetry Autumn of Code.
LLVM upstream follow up update Three more patches in the D demangling patch train got merged!
https://reviews.llvm.org/D111415 https://reviews.llvm.org/D114305 https://reviews.llvm.org/D114307 I joined this week on the LLVM official team to help provide maintenance on the code I introduced and planning to introduce as well as general changes made for D in the official tree.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 10th Weekly Update</title>
      <link>/posts/d-saoc-2021-10/</link>
      <pubDate>Thu, 25 Nov 2021 21:26:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-10/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the tenth week of Symmetry Autumn of Code.
LLVM upstream follow up update During the discussion for the next patch in the train, 4 more patches have been raised, due to request to split it even more:
https://reviews.llvm.org/D114305 https://reviews.llvm.org/D114307 https://reviews.llvm.org/D114308 https://reviews.llvm.org/D114309 Some more changes were made on other existing patches due to further discussion on implementation details.
I also proposed a minor change on the specification to accommodate artificial local parent symbols when mangling ambiguities happen, see here.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 9th Weekly Update</title>
      <link>/posts/d-saoc-2021-09/</link>
      <pubDate>Thu, 18 Nov 2021 18:02:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-09/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the ninth week of Symmetry Autumn of Code.
LLVM upstream follow up update I started this week updating the rest of the patches to reflect the suggestions made in the first patch, such as use a different OutputBuffer and other nit codestyle changes. It turns out to be very unproductive week, unfortunately, since I got some runtime errors such as heap buffer overflows and heap usage after free() calls leading to very weird bugs because of my dumb idea of refactoring the existing code.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 8th Weekly Update</title>
      <link>/posts/d-saoc-2021-08/</link>
      <pubDate>Thu, 11 Nov 2021 15:00:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-08/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the eighth week of Symmetry Autumn of Code. Sorry for being a bit late.
LLVM upstream follow up update The following patches got merged:
https://reviews.llvm.org/D111414 https://reviews.llvm.org/D111432 https://reviews.llvm.org/D110578 This includes the most important patch of the Milestone 1, which is initial support for D demangling. After a conversation with Chris Lattner (LLVM lead developer and creator) I managed to get acceptance on merging that change, leaving relicensing issues aside from my task list.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 7th Weekly Update</title>
      <link>/posts/d-saoc-2021-07/</link>
      <pubDate>Thu, 04 Nov 2021 01:39:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-07/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the seventh week of Symmetry Autumn of Code.
LLVM/LLDB upstream status update Some trivial changes about LLDB plugins got merged and a fix got raised after my investigation on https://bugs.llvm.org/show_bug.cgi?id=45856 .
I have some fresh news about the demangler being upstreamed. It appears that approval from official foundation members is not going forward, as expected. At this point, most of the code from libiberty got changed, at least on the first patches.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 6th Weekly Update</title>
      <link>/posts/d-saoc-2021-06/</link>
      <pubDate>Thu, 28 Oct 2021 00:38:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-06/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the sixth week of Symmetry Autumn of Code.
LLVM Patches follow up The first two patches were merged into the LLVM tree!
https://reviews.llvm.org/D111947 https://reviews.llvm.org/D111948 Hopefully we can now proceed with merging the demangling patches as the next step.
LLDB D Plugin This week I primarily worked on getting the D plugin working. I added two features to the plugin which includes handling D slices generically and the special case of string slices.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 5th Weekly Update</title>
      <link>/posts/d-saoc-2021-05/</link>
      <pubDate>Thu, 21 Oct 2021 01:33:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-05/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the fifth week of Symmetry Autumn of Code.
LLVM Patches follow up During the discussion on some patches, two other patches have been raised, refactoring the usage of string utilities shared among other demanglers.
https://reviews.llvm.org/D111948 https://reviews.llvm.org/D111947 Second milestone kickoff This week I started working on the second milestone, mostly covering DWARF issues that I discovered. The initial idea is to research a bit about what debug information is provided by each compiler and understand what can be done, not only on the LLDB side but also improve information generated by the compilers.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 4th Weekly Update</title>
      <link>/posts/d-saoc-2021-04/</link>
      <pubDate>Thu, 14 Oct 2021 15:27:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-04/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the fourth week of Symmetry Autumn of Code.
Finishing the patch split I&amp;rsquo;m happy to announce the full list of patches since the split:
https://reviews.llvm.org/D111414 https://reviews.llvm.org/D111415 https://reviews.llvm.org/D111416 https://reviews.llvm.org/D111417 https://reviews.llvm.org/D111419 https://reviews.llvm.org/D111420 https://reviews.llvm.org/D111421 https://reviews.llvm.org/D111422 https://reviews.llvm.org/D111423 https://reviews.llvm.org/D111424 https://reviews.llvm.org/D111425 https://reviews.llvm.org/D111426 https://reviews.llvm.org/D111428 https://reviews.llvm.org/D111429 https://reviews.llvm.org/D111430 https://reviews.llvm.org/D111431 https://reviews.llvm.org/D111432 This includes some little changes and it already have a ton of discussion! Some things are little disappointing and other somewhat rigid, in my point of view, since some patches are &amp;ldquo;too atomic&amp;rdquo; according to the reviewers.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 3rd Weekly Update</title>
      <link>/posts/d-saoc-2021-03/</link>
      <pubDate>Wed, 06 Oct 2021 21:07:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-03/</guid>
      <description>Hi D community!
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the third week of Symmetry Autumn of Code.
Restructuring the patch history According to LLVM team, the patch 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 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.</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 2nd Weekly Update</title>
      <link>/posts/d-saoc-2021-02/</link>
      <pubDate>Fri, 01 Oct 2021 00:05:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-02/</guid>
      <description>Hi D community!
Sorry for being late this week.
I&amp;rsquo;m here again, to describe what I&amp;rsquo;ve done during the second week of Symmetry Autumn of Code.
Finalizing the LLDB integration Last week some missing pieces on the test suite and on the LLDB side was concluded at the beginning of this week and put everything together.
Restructure the code to be more C++ish After successfully integrating libiberty D demangler into LLVM and before sending the patches to LLVM, code style needed to be properly handled to conform with clang-format style of LLVM, so, I decided to transform the code to be more C++ like:</description>
    </item>
    
    <item>
      <title>SAOC LLDB D integration: 1st Weekly Update</title>
      <link>/posts/d-saoc-2021-01/</link>
      <pubDate>Thu, 23 Sep 2021 07:32:00 +0100</pubDate>
      
      <guid>/posts/d-saoc-2021-01/</guid>
      <description>SAOC LLDB D integration: 1st Weekly Update Hi D community!
I&amp;rsquo;m here to describe what I&amp;rsquo;ve done during the first week on the Symmetry Autumn of Code.
liblldbd During the discussion for the milestones plan with my mentor, I decided to advance some work and wrote a simple C API around D runtime demangler to expose the D demangler API into a C interface. This would allow in the future to implement an LLDB language plugin into the LLVM.</description>
    </item>
    
  </channel>
</rss>
