Re: [Dwarf-Discuss] modeling different address spaces

2020-07-30 Thread Michael Eager via Dwarf-Discuss
On 7/30/20 5:17 PM, Tye, Tony via Dwarf-Discuss wrote: For optimized code involving multiple address spaces it is possible to run into cases where the location of a source language variable requires multiple address spaces. For example, a source variable may be optimized and different pieces ma

Re: [Dwarf-Discuss] modeling different address spaces

2020-07-30 Thread Tye, Tony via Dwarf-Discuss
For optimized code involving multiple address spaces it is possible to run into cases where the location of a source language variable requires multiple address spaces. For example, a source variable may be optimized and different pieces may be in different places including memory of multiple ad

Re: [Dwarf-Discuss] Question about DW_TAG_inlined_subroutine tags

2020-07-30 Thread Greg Clayton via Dwarf-Discuss
> On Jul 30, 2020, at 12:21 PM, David Blaikie wrote: > > On Thu, Jul 30, 2020 at 12:00 PM Greg Clayton via Dwarf-Discuss > wrote: >> >> The LTO in clang creates some really interesting DWARF... One of the latest >> things I discovered is DW_TAG_inlined_subroutine tags that are not contained

Re: [Dwarf-Discuss] Question about DW_TAG_inlined_subroutine tags

2020-07-30 Thread David Blaikie via Dwarf-Discuss
On Thu, Jul 30, 2020 at 12:00 PM Greg Clayton via Dwarf-Discuss wrote: > > The LTO in clang creates some really interesting DWARF... One of the latest > things I discovered is DW_TAG_inlined_subroutine tags that are not contained > within a DW_TAG_subprogram. I am guessing the compiler/linker wa

[Dwarf-Discuss] Question about DW_TAG_inlined_subroutine tags

2020-07-30 Thread Greg Clayton via Dwarf-Discuss
The LTO in clang creates some really interesting DWARF... One of the latest things I discovered is DW_TAG_inlined_subroutine tags that are not contained within a DW_TAG_subprogram. I am guessing the compiler/linker wanted to outline an inlined function and tried its best to move the DWARF and di