[PATCH] D38701: Fix LLDB build for Android.
Eugene Zemtsov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 12:01:50 PDT 2017
eugene created this revision.
Currently libstdc++ on Android doesn't support std::to_string().
Repository:
rL LLVM
https://reviews.llvm.org/D38701
Files:
utils/TableGen/X86FoldTablesEmitter.cpp
Index: utils/TableGen/X86FoldTablesEmitter.cpp
===================================================================
--- utils/TableGen/X86FoldTablesEmitter.cpp
+++ utils/TableGen/X86FoldTablesEmitter.cpp
@@ -117,7 +117,7 @@
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";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38701.118248.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171009/0fdad0b3/attachment.bin>
More information about the llvm-commits
mailing list