Hi,
I checked out the LLVM code today, and it seems Value is
no longer a subclass of Annotable. Is IR annotation still
supported? Right now, I just need to annotate global variables.
Thanks
Rahul
Hi,
I checked out the LLVM code today, and it seems Value is
no longer a subclass of Annotable. Is IR annotation still
supported? Right now, I just need to annotate global variables.
Thanks
Rahul
Nope, we removed that from the IR from CVS (what will be 1.2 soon). The
Annotation class had several problems and wasn't needed. In any case
where you used annotations on global variables, just create an
std::map<GlobalVariable*, whatever> and it should do the job just the
same...
Let me know if you'd like more explanation.
-Chris