[LLVMdev] Variable Attributes

C.J. Manville cjmanville at gmail.com
Fri Sep 25 08:49:37 PDT 2009

I would like to modify the compiler to classify variables, which will
ultimately determine the position the variables are stored in memory.  What
would be the best approach to accomplish this?

I was thinking of modifying the lexer and parser to add a new attribute and
have the machine code generator handle memory mapping accordingly.  Does
anyone have experience with this sort of exercise?  How would this best be
done with the LLVM system?

My target is an x86 machine.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090925/98da1fef/attachment.html>

More information about the llvm-dev mailing list