Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-14 Thread Simon Brand
ssage- From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On Behalf Of sc...@scottlinder.com Sent: Wednesday, January 31, 2018 2:05 PM To: dwarf-discuss@lists.dwarfstd.org Subject: [Dwarf-Discuss] DWARF and source text embedding Hello all, I am a compiler engineer at AMD, working

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-13 Thread Andres Freund
Hi, On 2018-02-13 16:45:23 -0800, Michael Eager wrote: > I can imagine situations where embedding ephemeral generated source in a > DWARF debug entry can make sense. But I have the feeling that there is > more to this in your environment than what I imagine. Can you give a > description of the u

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-13 Thread Michael Eager
scuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On Behalf Of sc...@scottlinder.com Sent: Wednesday, January 31, 2018 2:05 PM To: dwarf-discuss@lists.dwarfstd.org Subject: [Dwarf-Discuss] DWARF and source text embedding Hello all, I am a compiler engineer at AMD, working on tools for debug

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-13 Thread scott
Michael, In the case of this proposal, then, I suggest the CU fields (AT_{name,comp_dir}) retain their exact current definitions. Language implementations, regardless of whether they might want to support embedding source, currently use the filesystem. This extension is essentially just cachein

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-13 Thread scott
o:dwarf-discuss-boun...@lists.dwarfstd.org] On Behalf Of sc...@scottlinder.com Sent: Wednesday, January 31, 2018 2:05 PM To: dwarf-discuss@lists.dwarfstd.org Subject: [Dwarf-Discuss] DWARF and source text embedding Hello all, I am a compiler engineer at AMD, working on tools for debugging onli

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-01 Thread Michael Eager
On 02/01/2018 08:07 AM, sc...@scottlinder.com wrote: Hi John, In the case where the files are actually available on disk, and the source is simply being "cached", the attributes are exactly the same. In the case where sources are generated, and so have no true path on disk, I would suggest we

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-01 Thread Michael Eager
c...@scottlinder.com Sent: Wednesday, January 31, 2018 2:05 PM To: dwarf-discuss@lists.dwarfstd.org Subject: [Dwarf-Discuss] DWARF and source text embedding Hello all, I am a compiler engineer at AMD, working on tools for debugging online-compiled programs. The problem I am attempting to

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-01 Thread paul.robinson
> -Original Message- > From: sc...@scottlinder.com [mailto:sc...@scottlinder.com] > Sent: Thursday, February 01, 2018 12:02 PM > To: Robinson, Paul; dwarf-discuss@lists.dwarfstd.org > Subject: RE: [Dwarf-Discuss] DWARF and source text embedding > > Hi Paul, >

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-01 Thread scott
-Discuss] DWARF and source text embedding Hello all, I am a compiler engineer at AMD, working on tools for debugging online-compiled programs. The problem I am attempting to solve was brought up previously in the DWARF Standard issue 161018.1 titled "DWARF-embedded source for online-com

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-01 Thread paul.robinson
> -Original Message- > From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On > Behalf Of sc...@scottlinder.com > Sent: Wednesday, January 31, 2018 2:05 PM > To: dwarf-discuss@lists.dwarfstd.org > Subject: [Dwarf-Discuss] DWARF and source text embedd

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-02-01 Thread scott
Hi John, In the case where the files are actually available on disk, and the source is simply being "cached", the attributes are exactly the same. In the case where sources are generated, and so have no true path on disk, I would suggest we might just leave the exact meaning to be implementat

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-01-31 Thread John DelSignore
Hi Scott, Question: What does the DW_TAG_compile_unit look like for an embedded source file? For example, what does the DW_AT_name and DW_AT_comp_dir look like? Cheers, John D. On 01/31/18 17:05, sc...@scottlinder.com wrote: > Hello all, > > I am a compiler engineer at AMD, working on tools fo

Re: [Dwarf-Discuss] DWARF and source text embedding

2018-01-31 Thread Michael Eager
Hi Scott -- Please submit your proposal at http://dwarfstd.org/Comment.php. On 01/31/2018 02:05 PM, sc...@scottlinder.com wrote: Hello all, I am a compiler engineer at AMD, working on tools for debugging online-compiled programs. The problem I am attempting to solve was brought up previousl

[Dwarf-Discuss] DWARF and source text embedding

2018-01-31 Thread scott
Hello all, I am a compiler engineer at AMD, working on tools for debugging online-compiled programs. The problem I am attempting to solve was brought up previously in the DWARF Standard issue 161018.1 titled "DWARF-embedded source for online-compiled programs", and is the result of runtimes li