[Lldb-commits] [lldb] Read and store gnu build id from loaded core file (PR #92078)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue May 14 11:36:16 PDT 2024


================
@@ -158,6 +160,15 @@ class ProcessElfCore : public lldb_private::PostMortemProcess {
   // Returns number of thread contexts stored in the core file
   uint32_t GetNumThreadContexts();
 
+  // Populate gnu uuid for each NT_FILE entry
+  void UpdateBuildIdForNTFileEntries();
+
+  // Returns the UUID of a given NT_FILE entry
+  lldb_private::UUID FindBuildId(const NT_FILE_Entry entry);
----------------
clayborg wrote:

return `std::optional<lldb_private::UUID>`

https://github.com/llvm/llvm-project/pull/92078


More information about the lldb-commits mailing list