projects
/
llvm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331cf98
)
Fix LLDB build for Android.
author
Eugene Zemtsov
<ezemtsov@google.com>
Mon, 9 Oct 2017 22:43:35 +0000
(22:43 +0000)
committer
Eugene Zemtsov
<ezemtsov@google.com>
Mon, 9 Oct 2017 22:43:35 +0000
(22:43 +0000)
Currently libstdc++ on Android doesn't support std::to_string().
Differential Revision: https://reviews.llvm.org/D38701
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315246
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/X86FoldTablesEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/X86FoldTablesEmitter.cpp
b/utils/TableGen/X86FoldTablesEmitter.cpp
index f7f1ad85bf931ddc201f8e1c4036a7955e9ac2e2..2fefe0a92aac337206c833f65bc3ebc5653773ea 100644
(file)
--- a/
utils/TableGen/X86FoldTablesEmitter.cpp
+++ b/
utils/TableGen/X86FoldTablesEmitter.cpp
@@
-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";