From cd2e500e555e134ffc19d07f26b17d0b0c71efd9 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 11 Jun 2021 13:39:14 +0100 Subject: [PATCH] [lldb] DumpDataExtractor.cpp - replace APInt::toString() with llvm::toString(APInt) APInt::toString() was removed rG61cdaf66fe22be2b5942ddee4f46a998b4f3ee29 --- lldb/source/Core/DumpDataExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Core/DumpDataExtractor.cpp b/lldb/source/Core/DumpDataExtractor.cpp index 66fcfbd43bd2..93aaae8a1040 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 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);