[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM

Chris Lattner clattner at apple.com
Tue Apr 6 09:27:58 PDT 2010

On Apr 6, 2010, at 1:10 AM, Tristan Gingold wrote:

> On Apr 3, 2010, at 2:36 PM, Russell Wallace wrote:
>> On Fri, Apr 2, 2010 at 6:17 PM, Chris Lattner <clattner at apple.com> wrote:
>>> No, please don't.  This is something we specifically do not want to support.  The issue is not the parser, the issue is that struct field offsets are no longer constant in this model.
>> What about declaring that pointers are always 64 bits, for all
>> purposes other than final code generation of actual pointer
>> instructions? Would that solve the problem?
> No, sizeof will report wrong values.

Which won't matter (as long as sizeof is consistent), because EFI is a closed system.


More information about the llvm-dev mailing list