[libc++] Don't hardcode namespace in manual mangling
authorShoaib Meenai <smeenai@fb.com>
Mon, 7 Aug 2017 19:59:58 +0000 (19:59 +0000)
committerShoaib Meenai <smeenai@fb.com>
Mon, 7 Aug 2017 19:59:58 +0000 (19:59 +0000)
commit9b8ef6e55a584be3abd0544ef1bcb882093170df
tree1a5a343b3481f941d8f86b29e8d65f83382b573d
parentc675290680d7be4408142c8d74e37e974eef35f2
[libc++] Don't hardcode namespace in manual mangling

libc++'s inline namespace can change depending on the ABI version.
Instead of hardcoding __1 in the manual Microsoft ABI manglings for the
iostream globals, stringify _LIBCPP_NAMESPACE and use that instead, to
work across all ABI versions.

llvm-svn: 310290
libcxx/src/iostream.cpp