ConstantArray::getAsString in LLVM 3.1

Hello,

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?

Thanks,

David

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.