[llvm-commits] [llvm] r77706 - in /llvm/trunk: include/llvm/Support/Annotation.h lib/Support/Annotation.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Aug 3 10:10:25 PDT 2009
Gabor Greif wrote:
>
> I understood that you are subclassing llvm::Function to carry your
> annotations.
>
No, I was using the Annotation class previously to attach per-function
information. Now that the Annotation class is deleted, I would like to
subclass the llvm::Function to put these informations in the subclass.
Serialization happens fine with the subclass. When I deserialize the
bitcode I get llvm::Function and not the subclass. As expected.
Nicolas
More information about the llvm-commits
mailing list