1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix LLDB build for Android.

Currently libstdc++ on Android doesn't support std::to_string().

Differential Revision: https://reviews.llvm.org/D38701

llvm-svn: 315246
This commit is contained in:
Eugene Zemtsov 2017-10-09 22:43:35 +00:00
parent 976ebea58c
commit b8093853d2

View File

@ -117,7 +117,7 @@ class X86FoldTablesEmitter {
if (E.CannotUnfold)
OS << "TB_NO_REVERSE | ";
if (E.IsAligned)
OS << "TB_ALIGN_" + std::to_string(E.Alignment) + " | ";
OS << "TB_ALIGN_" << E.Alignment << " | ";
OS << "0 },\n";