Thanks for providing all the necessary info! I've assigned language codes
DW_LANG_Nim = 0x0045 (for DWARF <= 5)
and DW_LNAME_Nim = 0x002f (for DWARF >= 6).

https://dwarfstd.org/issues/250325.1.html

-cary

On Tue, Mar 25, 2025 at 1:26 PM Jacek Sieka via Dwarf-discuss <
dwarf-discuss@lists.dwarfstd.org> wrote:

> Hi!
>
> As community member and maintainer of
> [`nlvm`](https://github.com/arnetheduck/nlvm), an LLVM-based compiler
> for the [Nim language](https://nim-lang.org/), I'd like to propose
> that a new language constant is added for it in v6!
>
> Our current debugging experience is based on pretending to be C and
> using Itanium-abi-based mangling to piggy-back on C++ demanglers which
> of course isn't optimal as the C++ syntax is foreign to many Nim
> developers and the C syntax lacking many "native" Nim quirks. I'd love
> to get the ball rolling on improving things on the debugging front
> with a view to also extend lldb/gdb and similar tools in the future!
>
> The language is currently at version 2.2.2 - major ABI updates are
> expected to touch the "major" version while even minor releases act as
> feature upgrades, the 1.x series ending at 1.6. Indexing is 0-based by
> default (though customizable for array types).
>
> Thanks and happy to answer any questions,
> Jacek
> --
> Dwarf-discuss mailing list
> Dwarf-discuss@lists.dwarfstd.org
> https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
>
-- 
Dwarf-discuss mailing list
Dwarf-discuss@lists.dwarfstd.org
https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss

Reply via email to