[LLVMdev] Adding integer field to all C++ classes in LLVM

Mohit Mishra mmishra23 at gmail.com
Thu Jul 16 14:05:02 PDT 2015


Hi,

I want to add an integer field to all C++ classes in LLVM. Where do I look
at in the LLVM source to make the necessary changes? As of now, what I
understand is that I need to make changes in Type.cpp
(llvm/lib/IR/Type.cpp) where I insert an integer field in the ArrayRef
passed to StructType::setBody?

Thanks!

-Mohit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150717/7a81e3c8/attachment.html>


More information about the llvm-dev mailing list