> On Mar 19, 2020, at 5:49 PM, Michael Eager via Dwarf-Discuss > <dwarf-discuss@lists.dwarfstd.org> wrote: > > My reading of sections 2.5 & 2.6 is that you cannot have a DW_OP_piece in an > DWARF expression. > I wonder if this is an intentional part of the design because of ambiguity/correctness issues or is this just something that happens to fall out of the way the text is worded? I can see how such a restriction might simplify DWARF consumers, but it also seems like an arbitrary restriction for which there may not be a technical reason. That distinction is important, because if there is a *technical* reason for not supporting them we should refrain from implementing this in LLVM. But if there isn't, there is no harm done in implementing it as an extension, and DWARF consumers that don't support it can just ignore these expressions and return N/A. -- adrian _______________________________________________ Dwarf-Discuss mailing list Dwarf-Discuss@lists.dwarfstd.org http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org
Re: [Dwarf-Discuss] Use of Location Description operations in DWARF Expressions?
Adrian Prantl via Dwarf-Discuss Fri, 20 Mar 2020 10:29:51 -0700
- [Dwarf-Discuss] Use of Location Descripti... David Stenberg via Dwarf-Discuss
- Re: [Dwarf-Discuss] Use of Location ... Michael Eager via Dwarf-Discuss
- Re: [Dwarf-Discuss] Use of Locat... Adrian Prantl via Dwarf-Discuss
- Re: [Dwarf-Discuss] Use of L... Robinson, Paul via Dwarf-Discuss
- Re: [Dwarf-Discuss] Use ... Michael Eager via Dwarf-Discuss
- Re: [Dwarf-Discuss]... Todd Allen via Dwarf-Discuss
- Re: [Dwarf-Discuss]... Cary Coutant via Dwarf-Discuss
- Re: [Dwarf-Disc... Michael Eager via Dwarf-Discuss
- Re: [Dwarf-... Cary Coutant via Dwarf-Discuss