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

Tristan Gingold gingold at adacore.com
Tue Apr 6 01:10:44 PDT 2010


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.

Tristan.





More information about the llvm-dev mailing list