[haiku-bugs] Re: [Haiku] #11883: Debugger fails to parse debug output generated by rustc/llvm

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 01 Mar 2015 15:17:07 -0000

#11883: Debugger fails to parse debug output generated by rustc/llvm
-------------------------------------+----------------------------
   Reporter:  nielx                  |      Owner:  anevilyak
       Type:  enhancement            |     Status:  new
   Priority:  low                    |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------
Changes (by anevilyak):

 * priority:  normal => low
 * type:  bug => enhancement


Comment:

 There are several issues at play here. First of all, up until now, the
 main emphasis on Debugger's development has been handling C/C++, as those
 are the primary languages used by the system APIs. There are large chunks
 of the DWARF spec that exist solely to serve various language-specific
 quirks, and as such quite a few of those aren't currently implemented due
 to lack of need until now.

 Second, and more relevant to this specific issue, the ability to
 generically determine the correct starting symbol (via
 DW_AT_main_subprogram) wasn't added until DWARF version 4 ; for versions
 prior to that, and/or in the absence of debugging information, determining
 the start location has to be handled manually on a per-language basis. The
 output attached to this binary doesn't contain such a marker, so it falls
 into the latter category. Since I already have a large enough todo list of
 other things to add, and a relatively limited time budget at the moment,
 implementing support for relatively obscure languages isn't something I'm
 likely to have the time/motivation to do any time soon. As such, I'm
 afraid I'm going to have to simply say "patches welcome" here.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11883#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: