Skip to content

Commit 95d455b

Browse files
committed
Address comment, revert empty line change
1 parent 112a5bf commit 95d455b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,8 @@ Status ProcessElfCore::DoLoadCore() {
276276
}
277277

278278
void ProcessElfCore::UpdateBuildIdForNTFileEntries() {
279-
if (!m_nt_file_entries.empty()) {
280-
for (NT_FILE_Entry &entry : m_nt_file_entries) {
281-
entry.uuid = FindBuidIdInCoreMemory(entry.start);
282-
}
279+
for (NT_FILE_Entry &entry : m_nt_file_entries) {
280+
entry.uuid = FindBuidIdInCoreMemory(entry.start);
283281
}
284282
}
285283

@@ -585,6 +583,7 @@ llvm::Expected<std::vector<CoreNote>>
585583
ProcessElfCore::parseSegment(const DataExtractor &segment) {
586584
lldb::offset_t offset = 0;
587585
std::vector<CoreNote> result;
586+
588587
while (offset < segment.GetByteSize()) {
589588
ELFNote note = ELFNote();
590589
if (!note.Parse(segment, &offset))

0 commit comments

Comments
 (0)