Alexey Samsonov 175e52f57b Refactor and generalize GetAddrOfConstantString and GetAddrOfConstantStringFromLiteral.
Share mode code between these functions and re-structure them in a way
which shows how similar they actually are. The latter function works well
with literals of multi-byte chars and does a GlobalVariable name mangling
(if global strings are non-writable).

No functionality change.

llvm-svn: 210212
2014-06-04 19:56:57 +00:00
2014-06-04 09:54:07 +00:00
Description
No description provided
5.3 GiB
Languages
LLVM 41.4%
C++ 31.4%
C 13%
Assembly 9.6%
MLIR 1.5%
Other 2.7%