We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c69582 commit be740feCopy full SHA for be740fe
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -5854,8 +5854,7 @@ StructuredData::ObjectSP ObjectFileMachO::GetCorefileProcessMetadata() {
5854
log,
5855
"Multiple 'process metadata' LC_NOTEs found, only using the first.");
5856
5857
- offset_t payload_offset = std::get<0>(lc_notes[0]);
5858
- offset_t strsize = std::get<1>(lc_notes[0]);
+ auto [payload_offset, strsize] = lc_notes[0];
5859
std::string buf(strsize, '\0');
5860
if (m_data.CopyData(payload_offset, strsize, buf.data()) != strsize) {
5861
LLDB_LOGF(log,
0 commit comments