summaryrefslogtreecommitdiff
path: root/lldb/source/Core/DumpDataExtractor.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-06-11 13:39:14 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-06-11 13:39:14 +0100
commitcd2e500e555e134ffc19d07f26b17d0b0c71efd9 (patch)
treee6fc8b2b955aaa67c6819785a3dfb77939ba4e2a /lldb/source/Core/DumpDataExtractor.cpp
parent0fc4016d913d3ca2f490b1f1b132798ec0a13e00 (diff)
[lldb] DumpDataExtractor.cpp - replace APInt::toString() with llvm::toString(APInt)
APInt::toString() was removed rG61cdaf66fe22be2b5942ddee4f46a998b4f3ee29
Diffstat (limited to 'lldb/source/Core/DumpDataExtractor.cpp')
-rw-r--r--lldb/source/Core/DumpDataExtractor.cpp2
1 files changed, 1 insertions, 1 deletions
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<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);