@@ -139,7 +139,7 @@ bool LLDBMemoryReader::readBytes(swift::remote::RemoteAddress address,
139
139
llvm::Optional<Address> maybeAddr =
140
140
resolveRemoteAddress (address.getAddressData ());
141
141
if (!maybeAddr) {
142
- LLDB_LOGV (log, " [MemoryReader] could not resolve address {1 :x}" ,
142
+ LLDB_LOGV (log, " [MemoryReader] could not resolve address {0 :x}" ,
143
143
address.getAddressData ());
144
144
return false ;
145
145
}
@@ -184,13 +184,13 @@ bool LLDBMemoryReader::readString(swift::remote::RemoteAddress address,
184
184
std::string &dest) {
185
185
Log *log (GetLogIfAllCategoriesSet (LIBLLDB_LOG_TYPES));
186
186
187
- LLDB_LOGV (log, " [MemoryReader] asked to read string data at address {0x }" ,
187
+ LLDB_LOGV (log, " [MemoryReader] asked to read string data at address {0:x }" ,
188
188
address.getAddressData ());
189
189
190
190
llvm::Optional<Address> maybeAddr =
191
191
resolveRemoteAddress (address.getAddressData ());
192
192
if (!maybeAddr) {
193
- LLDB_LOGV (log, " [MemoryReader] could not resolve address {1 :x}" ,
193
+ LLDB_LOGV (log, " [MemoryReader] could not resolve address {0 :x}" ,
194
194
address.getAddressData ());
195
195
return false ;
196
196
}
@@ -302,7 +302,7 @@ LLDBMemoryReader::resolveRemoteAddress(uint64_t address) const {
302
302
// If the address is larger than anything we have mapped the address is out
303
303
if (pair_iterator == m_range_module_map.end ()) {
304
304
LLDB_LOG (log,
305
- " [MemoryReader] Address {:x} is larger than the upper bound "
305
+ " [MemoryReader] Address {0 :x} is larger than the upper bound "
306
306
" address of the mapped in modules" ,
307
307
address);
308
308
return {};
@@ -319,8 +319,8 @@ LLDBMemoryReader::resolveRemoteAddress(uint64_t address) const {
319
319
file_address = address - std::prev (pair_iterator)->first ;
320
320
321
321
LLDB_LOGV (log,
322
- " [MemoryReader] Successfully resolved mapped address {:x} into "
323
- " file address {:x}" ,
322
+ " [MemoryReader] Successfully resolved mapped address {0 :x} into "
323
+ " file address {1 :x}" ,
324
324
address, file_address);
325
325
auto *object_file = module ->GetObjectFile ();
326
326
if (!object_file)
@@ -330,14 +330,14 @@ LLDBMemoryReader::resolveRemoteAddress(uint64_t address) const {
330
330
if (!resolved.IsValid ()) {
331
331
LLDB_LOG (log,
332
332
" [MemoryReader] Could not make a real address out of file address "
333
- " {:x} and object file {}" ,
333
+ " {0 :x} and object file {}" ,
334
334
file_address, object_file->GetFileSpec ().GetFilename ());
335
335
return {};
336
336
}
337
337
338
338
LLDB_LOGV (log,
339
- " [MemoryReader] Successfully resolved mapped address {:x} into "
340
- " file address {:x}" ,
339
+ " [MemoryReader] Successfully resolved mapped address {0 :x} into "
340
+ " file address {1 :x}" ,
341
341
address, resolved.GetFileAddress ());
342
342
return resolved;
343
343
}
0 commit comments