[LLVMdev] Getting Static Array Content

Ryan Taylor ryta1203 at gmail.com
Thu Sep 27 17:07:36 PDT 2012


I'm trying to get the values in a static global array. What is the best way
to go about doing this?

Once I have the pointer (Ie GlobalVariable *GV =
dyn_cast<GlobalVariable>(itr))?

I basically just want to check for ConstantDataSequential and print out the
values.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120927/0bb41b1a/attachment.html>


More information about the llvm-dev mailing list