[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [haiku-commits] Re: haiku: hrev57242 - src/kits/debugger/dwarf
From:       waddlesplash <waddlesplash () gmail ! com>
Date:       2023-08-28 21:07:02
Message-ID: CA+w0SsAeFtoUhBR3s=VZDX6uUfENhTtyNftC_R8h3QMzcY7MCw () mail ! gmail ! com
[Download RAW message or body]

On Fri, Aug 25, 2023 at 9:33 PM Rene Gollent <anevilyak@gmail.com> wrote:
> From a look at the spec, the only noteworthy difference I see in the line number \
> section is some added data to assisted with profile guided optimization. We can \
> probably ignore that and be fine.

I added version 4 to the check and built some files with DWARFv4. It
doesn't fully work.

File information is loaded and symbols are indeed categorized into
what source files they come from in the "Images" view. Clicking on a
frame in the stack trace does now get "Click to locate source file".
However, after locating the source file, it isn't loaded (no error
message or anything, just stays on disassembly view.)

In the console I see:
"operand count for standard opcode 1 does not what we expect"

Which seems to come from the LineNumberProgram class. I guess somehow
the opcodes changed here between DWARF versions?

-waddlesplash


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic