[Dwarf-Discuss] How best to represent multiple programs in a single file...

Michael Eager eager at eagercon.com
Tue Jan 4 10:50:16 PST 2011


Relph, Richard wrote:
> Chris,
> 
>     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 mailing list