Teach the .ll parser to handle named metadata with non-simple names.
commit9100a78bce4e1d34d8ffd5efa2cc79ed864dd1c0
authorNick Lewycky <nicholas@mxc.ca>
Wed, 15 Jun 2011 06:37:58 +0000 (15 06:37 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 15 Jun 2011 06:37:58 +0000 (15 06:37 +0000)
treecdc744ac8a554e94e7e133a0d4aa4ba96f750052
parent7a10ab7d6f50b59580cc8ab1eb52d562e81f28d8
Teach the .ll parser to handle named metadata with non-simple names.
Unfortunately we can't follow what the rest of the language does (wrapping it
in double-quotes) because that would cause an ambiguity with metadata strings,
so instead we escape any unusual characters with \xx escaping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133050 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLLexer.cpp
lib/VMCore/AsmWriter.cpp