[LLVMdev] String format

Chris Lattner sabre at nondot.org
Mon Jul 16 23:06:04 PDT 2007


On Mon, 16 Jul 2007, Ben Chambers wrote:
> Is there any documentation on the format of string literals that can
> appear in globals?  Specifically, it seems to start with a c"...", but
> I'm not sure what all is allowed in the ...  The only thing I've seen
> are ascii characters and escape characters that are in hexadecimal.
> Is anything else allowed?

That should be it.  Please check out the code in lib/AsmParser to verify 
for sure.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list