[Dwarf-Discuss] DWARF and source text embedding

Andres Freund andres@anarazel.de
Wed Feb 14 01:11:51 GMT 2018


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 use case in which this might be used?

Not Scott, but I've a similar need. In my case there's no corresponding
source code files because the program is generated in-memory for parts
of an SQL query. Both debugging and profiling would be easier if it were
possible to associate dwarf data with the generated code.

Greetings,

Andres Freund



More information about the Dwarf-discuss mailing list