diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 08:57:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 08:57:40 +0000 |
commit | f3da5290282d5a0b98378148e76d60a80944968e (patch) | |
tree | c5511f1d53d1ae1f12b207ae11ce8a54bb61d4e0 /llvm/lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | 611cb6445343a27f710100b1d2b11fd375d9e26f (diff) | |
download | bcm5719-llvm-f3da5290282d5a0b98378148e76d60a80944968e.tar.gz bcm5719-llvm-f3da5290282d5a0b98378148e76d60a80944968e.zip |
Add more PRI.64 macros for MSVC and use them throughout the codebase.
llvm-svn: 143799
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp index a2dc873b69e..4f2d3e5b79a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp @@ -230,8 +230,8 @@ unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const { #ifndef NDEBUG void DIEInteger::print(raw_ostream &O) { - O << "Int: " << (int64_t)Integer - << format(" 0x%llx", (unsigned long long)Integer); + O << "Int: " << (int64_t)Integer << " 0x"; + O.write_hex(Integer); } #endif |