[Dwarf-Discuss] How best to represent multiple programs in a single file...
Tue Jan 4 18:50:16 GMT 2011
Relph, Richard wrote:
> Thanks for the reply. We have considered this approach, but it has
> thus far been rejected for various reasons. Ultimately, what you suggest
> ends up producing a separate ELF with DWARF for each kernel, which has
> the obvious advantage of being easy to prove works. But OpenCL treats a
> compilation of a set of kernels as a unit, so we?d have to design a
> mechanism to put multiple ELFs in to a single bundle, which we?ve so far
> been reluctant to do.
Perhaps treat each kernel as a separate loadable ELF segment,
each starting at address zero.
Michael Eager eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Dwarf-discuss