File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lldb/source/Plugins/LanguageRuntime/Swift Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -887,14 +887,14 @@ bool SwiftLanguageRuntimeImpl::AddModuleToReflectionContext(
887
887
888
888
if (load_ptr == 0 || load_ptr == LLDB_INVALID_ADDRESS) {
889
889
if (obj_file->GetType () != ObjectFile::eTypeJIT)
890
- if (Log *log = GetLog (LLDBLog::Types))
891
- log-> Printf ( " %s : failed to get start address for %s ." , __FUNCTION__,
892
- obj_file-> GetFileSpec (). GetFilename (). GetCString ());
890
+ LLDB_LOG ( GetLog (LLDBLog::Types),
891
+ " {0} : failed to get start address for \" {1} \" ." , __FUNCTION__,
892
+ module_sp-> GetObjectName ());
893
893
return false ;
894
894
}
895
895
bool found = HasReflectionInfo (obj_file);
896
- LLDB_LOGF (GetLog (LLDBLog::Types), " %s reflection metadata in \" %s \" " ,
897
- found ? " Adding" : " No" , obj_file-> GetFileSpec (). GetPath (). c_str ());
896
+ LLDB_LOG (GetLog (LLDBLog::Types), " {0} reflection metadata in \" {1} \" " ,
897
+ found ? " Adding" : " No" , module_sp-> GetObjectName ());
898
898
if (!found)
899
899
return true ;
900
900
You can’t perform that action at this time.
0 commit comments