Skip to content

Commit 83a8f44

Browse files
committed
Code review cleanup
1 parent da84d9c commit 83a8f44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ DataExtractor ProcessMinidump::GetAuxvData() {
342342
if (!auxv)
343343
return DataExtractor();
344344

345-
return DataExtractor(auxv->data(), auxv->size(), ByteOrder::eByteOrderLittle,
345+
return DataExtractor(auxv->data(), auxv->size(), GetByteOrder(),
346346
GetAddressByteSize(), GetAddressByteSize());
347347
}
348348

@@ -475,6 +475,7 @@ ModuleSP ProcessMinidump::GetOrCreateModule(UUID minidump_uuid,
475475
void ProcessMinidump::ReadModuleList() {
476476
std::vector<const minidump::Module *> filtered_modules =
477477
m_minidump_parser->GetFilteredModuleList();
478+
478479
Log *log = GetLog(LLDBLog::DynamicLoader);
479480

480481
for (auto module : filtered_modules) {
@@ -543,6 +544,7 @@ void ProcessMinidump::ReadModuleList() {
543544
"Unable to locate the matching object file, creating a "
544545
"placeholder module for: {0}",
545546
name);
547+
546548
module_sp = Module::CreateModuleFromObjectFile<ObjectFilePlaceholder>(
547549
module_spec, load_addr, load_size);
548550
// If we haven't loaded a main executable yet, set the first module to be

0 commit comments

Comments
 (0)