mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 17:45:07 +08:00
[lldb] DumpDataExtractor.cpp - replace APInt::toString() with llvm::toString(APInt)
APInt::toString() was removed rG61cdaf66fe22be2b5942ddee4f46a998b4f3ee29
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user