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 9b206a7d60
commit eb4adc3daf
1 changed files with 1 additions and 1 deletions

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";