[Lldb-commits] [lldb] cd2e500 - [lldb] DumpDataExtractor.cpp - replace APInt::toString() with llvm::toString(APInt)
Simon Pilgrim via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 11 05:39:20 PDT 2021
Author: Simon Pilgrim
Date: 2021-06-11T13:39:14+01:00
New Revision: cd2e500e555e134ffc19d07f26b17d0b0c71efd9
URL: https://github.com/llvm/llvm-project/commit/cd2e500e555e134ffc19d07f26b17d0b0c71efd9
DIFF: https://github.com/llvm/llvm-project/commit/cd2e500e555e134ffc19d07f26b17d0b0c71efd9.diff
LOG: [lldb] DumpDataExtractor.cpp - replace APInt::toString() with llvm::toString(APInt)
APInt::toString() was removed rG61cdaf66fe22be2b5942ddee4f46a998b4f3ee29
Added:
Modified:
lldb/source/Core/DumpDataExtractor.cpp
Removed:
################################################################################
diff --git a/lldb/source/Core/DumpDataExtractor.cpp b/lldb/source/Core/DumpDataExtractor.cpp
index 66fcfbd43bd29..93aaae8a10408 100644
--- a/lldb/source/Core/DumpDataExtractor.cpp
+++ b/lldb/source/Core/DumpDataExtractor.cpp
@@ -116,7 +116,7 @@ static lldb::offset_t DumpAPInt(Stream *s, const DataExtractor &data,
bool is_signed, unsigned radix) {
llvm::Optional<llvm::APInt> apint = GetAPInt(data, &offset, byte_size);
if (apint.hasValue()) {
- std::string apint_str(apint.getValue().toString(radix, is_signed));
+ std::string apint_str = toString(apint.getValue(), radix, is_signed));
switch (radix) {
case 2:
s->Write("0b", 2);
More information about the lldb-commits
mailing list