[Dwarf-Discuss] DWARF and online-compiled programs (Simon Brand)

Bishop, John E john.e.bishop at intel.com
Thu Jun 9 10:09:35 PDT 2016


--[ quote ]--

I'm writing this email in particular to address the problem of referencing source files in DWARF for online-compiled programs. The issue is that programming models such as OpenCL can often have source generated at runtime,which is compiled online, with its output not written to file. This raises an issue for the compiler: in the generated DWARF, what should it put as the file name of the compile unit and associated line table information?

--[ end quote ]-



I'm inclined to say that in the general case the compiler should create an actual file and use it, but I like the in-the-binary solution for short pseudo-sources.



This would go into V6, right?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dwarfstd.org/private.cgi/dwarf-discuss-dwarfstd.org/attachments/20160609/10f6189a/attachment.htm>


More information about the Dwarf-Discuss mailing list