1

How to get the inializers of global variables with LLVM API

view story
linux-howto

http://stackoverflow.com – I'm writing an LLVM pass which works on the LLVM IR code. A part of the objective is to read the initial values of global variables, where global variables could be of any type, from basic types to structs and classes. How do I achieve that? (HowTos)