[LLVMdev] 3.1 API Breakage

Eli Friedman eli.friedman at gmail.com
Tue May 8 19:41:15 PDT 2012


On Tue, May 8, 2012 at 7:16 PM, Albert Graef <Dr.Graef at t-online.de> wrote:
> Now I've run into another issue: The ConstantArray::get() method for
> constructing a string  constant from a char* seems to be gone. Is there
> a replacement for that somewhere?

ConstantDataArray::getString. IRBuilder::CreateGlobalString might also
be useful in some cases.

> BTW, this isn't mentioned in the release notes yet.

Hmm... might be worth a mention.

-Eli




More information about the llvm-dev mailing list