[LLVMdev] ConstantArray::getAsString in LLVM 3.1

Duncan Sands baldrick at free.fr
Thu Nov 29 20:53:52 PST 2012


Hi David,

> I'm working on porting a project to LLVM 3.1.  Unfortunately, my project makes
> very heavy use of ContantArray::getAsString() -- which was removed in LLVM 3.1.
>   Is there an equivalent in 3.1?  In other words, what is the best way to get
> the value of a string that was stored in a ConstantArray?

try ConstantDataSequential::getAsString

Ciao, Duncan.



More information about the llvm-dev mailing list