[LLVMdev] simulating c style unions in LLVM

Eli Friedman eli.friedman at gmail.com
Tue Jun 30 01:14:13 PDT 2009


On Tue, Jun 30, 2009 at 12:16 AM, Carter Cheng<carter_cheng at yahoo.com> wrote:
> Since pointer sizes are platform dependent if I am trying to use the union in question with an extern C function is it possible to make write the single definition in a platform independent way?

Not really; there's some discussion of that in the thread starting at
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-May/022132.html .

-Eli



More information about the llvm-dev mailing list