forked from OSchip/llvm-project
elf-core: correct "no sections" to "no segments."
The error reported here is that there are no phdr entries, so it's referring to segments, not sections. llvm-svn: 230227
This commit is contained in:
parent
f488e2ae69
commit
aec140380f
|
@ -191,7 +191,7 @@ ProcessElfCore::DoLoadCore ()
|
|||
const uint32_t num_segments = core->GetProgramHeaderCount();
|
||||
if (num_segments == 0)
|
||||
{
|
||||
error.SetErrorString ("core file has no sections");
|
||||
error.SetErrorString ("core file has no segments");
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue