Re: [Dwarf-Discuss] [EXTERNAL] - RE: Multiple floating point types with the same size but different encodings

2022-01-25 Thread Paul Robinson via Dwarf-Discuss
John Reagan tells me his message didn't go to the list, but Jakub quotes it in his reply. My comments below. > -Original Message- > From: Jakub Jelinek > Sent: Tuesday, January 25, 2022 7:10 AM > To: John Reagan > Cc: Robinson, Paul ; ja...@redhat.com; dwarf- >

Re: [Dwarf-Discuss] Multiple floating point types with the same size but different encodings

2022-01-24 Thread Paul Robinson via Dwarf-Discuss
+ John Reagan who can (I hope) speak to the choice of using different ATE codes for distinguishing VAX/IEEE floats in OpenVMS. --paulor > -Original Message- > From: Dwarf-Discuss On Behalf > Of Jakub Jelinek via Dwarf-Discuss > Sent: Monday, January 24, 2022 5:17 PM > To: Jason Merrill

Re: [Dwarf-Discuss] Inconsistency of C++ member function qualifiers

2021-10-05 Thread Paul Robinson via Dwarf-Discuss
According to https://en.cppreference.com/w/cpp/language/function the cv-qualifier is allowed only on non-static member functions, which are exactly the ones that have an implicit this-pointer parameter. cv - const/volatile qualification, only allowed in non-static member function declarations

[Dwarf-Discuss] PSA: New LLVM vendor tag DW_TAG_LLVM_annotation

2021-09-02 Thread Paul Robinson via Dwarf-Discuss
In the interest of alerting others who maintain lists of vendor-defined tags, attributes, etc.: LLVM recently added DW_TAG_LLVM_annotation (0x6000). This is a generic way to add an arbitrary name/value pair to any existing DIE; its use within LLVM is to propagate certain source attributes into

Re: [Dwarf-Discuss] DWARF v5 and "file 0"

2021-07-09 Thread Paul Robinson via Dwarf-Discuss
> it sounds like the general consensus is that: > > * In DWARF 5, file name entries are zero-indexed. > * DW_AT_decl_file of 0 means the first file name entry (index 0, which > happens to be the same as DW_AT_name of the unit). It does NOT mean an > unspecified file; that was an oversight in

Re: [Dwarf-Discuss] debug_aranges use and overhead

2021-03-11 Thread Paul Robinson via Dwarf-Discuss
Tom Russell could perhaps speak to this better, but my understanding is that our debugger guys like having .debug_aranges, because parsing the CU DIE does take that extra effort. I am unfamiliar with their code so I have to take their word on it. But I can certainly imagine that probing

Re: [Dwarf-Discuss] Split Dwarf vs. CU DW_AT_ranges / DW_AT_low_pc placement

2021-03-11 Thread Paul Robinson via Dwarf-Discuss
Hopefully not to side-track things too much... maybe wants its own thread, if there's more to debate here. >> For the case you suggested where it would be useful to keep the range >> list for the CU in the .o file, I think .debug_aranges is what you're >> looking for. > > aranges has been off by

Re: [Dwarf-Discuss] compilers generating ABI non-compliant function calls?

2021-03-09 Thread Paul Robinson via Dwarf-Discuss
(re-sending because outlook omitted the group address) > -Original Message- > From: Dwarf-Discuss On Behalf > Of Jakub Jelinek via Dwarf-Discuss > Sent: Tuesday, March 9, 2021 10:16 AM > To: Andrew Cagney > Cc: DWARF Discussion > Subject: Re: [Dwarf-Discuss] compilers generating ABI

[Dwarf-Discuss] implicit_value vs stack_value

2021-01-04 Thread Paul Robinson via Dwarf-Discuss
Happy New Year, everybody! A colleague just had a question for me about DW_OP_implicit_value which led me to wonder why we have both that and DW_OP_stack_value. Looking at http://dwarfstd.org/ShowIssue.php?issue=071227.1 which introduced the latter, it says in part: (This operator is similar

Re: [Dwarf-Discuss] Alternate entry points

2018-10-23 Thread Paul Robinson via Dwarf-Discuss
> -Original Message- > From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On > Behalf Of Paul Robinson via Dwarf-Discuss > Sent: Tuesday, October 23, 2018 5:40 PM > To: dwarf-discuss@lists.dwarfstd.org > Subject: [Dwarf-Discuss] Alternate entry

[Dwarf-Discuss] Alternate entry points

2018-10-23 Thread Paul Robinson via Dwarf-Discuss
On one of the LLVM lists, a question came up about representing alternate entry points. Fortran and PL/I and probably other languages can do this. I see DWARF has DW_TAG_entry_point, however the spec is completely silent on how this entry relates to other entries for the same subprogram. Should

[Dwarf-Discuss] DWARF dumpers should note compressed sections

2018-08-03 Thread Paul Robinson via Dwarf-Discuss
Recently somebody was poking around looking at compressed DWARF sections, and observed that some tools (dwarfdump, objdump, readelf) were dumping them just fine, but without any indication that the original section was compressed (citing ELF flag SHF_COMPRESSED). If anybody on this list happens

Re: [Dwarf-Discuss] Asm syntax for DWARF 5 line table info

2018-06-18 Thread Paul Robinson via Dwarf-Discuss
Filed as bug #23310 at sourceware.org/bugzilla. --paulr > -Original Message- > From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On > Behalf Of Paul Robinson via Dwarf-Discuss > Sent: Monday, June 18, 2018 1:06 PM > To: ni...@redhat.com

Re: [Dwarf-Discuss] Asm syntax for DWARF 5 line table info

2018-06-18 Thread Paul Robinson via Dwarf-Discuss
> -Original Message- > From: Nick Clifton [mailto:ni...@redhat.com] > Sent: Monday, June 18, 2018 10:01 AM > To: Robinson, Paul; dwarf-discuss@lists.dwarfstd.org > Cc: binut...@sourceware.org > Subject: Re: [Dwarf-Discuss] Asm syntax for DWARF 5 line table info > > Hi Paul, > > >>> I

Re: [Dwarf-Discuss] Line table "no-op" sequence

2018-04-25 Thread Paul Robinson via Dwarf-Discuss
> One technique you haven't mentioned is to stretch out LEB128 numbers > with extra 0x80's. Yeah, I kind of don't like abusing the LEB format like that. Maybe for one or two bytes, but not arbitrarily long strings (as you note, some consumers will decide it's corrupted data). > When doing an

Re: [Dwarf-Discuss] The .debug_str_offsets section and libdwarf/dwarfdump

2018-04-18 Thread Paul Robinson via Dwarf-Discuss
+wolfgang who did the string-offsets implementation. --paulr > -Original Message- > From: David Anderson [mailto:dave...@linuxmail.org] > Sent: Monday, April 16, 2018 5:56 PM > To: David Blaikie; Robinson, Paul; Pavel Labath > Cc: dwarf-discuss@lists.dwarfstd.org > Subject: Re:

Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread Paul Robinson via Dwarf-Discuss
The intent of the index is given pretty plainly in the non-normative text at the bottom of p.137; you should be able to look up any unqualified name in the index. If the normative text doesn't accomplish that, we have an opportunity to improve the spec. ☺ FWIW here's my take: Enumerations