================
@@ -271,6 +282,17 @@ Status ProcessElfCore::DoLoadCore() {
return error;
}
+void ProcessElfCore::UpdateBuildIdForNTFileEntries() {
+ if (!m_nt_file_entries.empty()) {
----------------
kevinfrei wrote:
I'd suggest adding it to that pass as well, though it will be a little bit
messier, as NT_PRPSINFO and NT_GNU_BUILD_ID have the same values, so they
depend on the Name field (CORE and GNU, respectively...). Do a check for the
GNU name at the very top (line 902ish?) and handle NT_GNU_BUILD_ID's before the
rest of that loop body, or dealing with PRPSINFO logic will get much messier...
https://github.com/llvm/llvm-project/pull/92492
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits