[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


================
@@ -117,6 +117,8 @@ class ProcessElfCore : public lldb_private::PostMortemProcess {
     lldb::addr_t end;
     lldb::addr_t file_ofs;
     std::string path;
+    lldb_private::UUID
+        uuid; // extracted from .note.gnu.build-id section from core file
----------------
clayborg wrote:

maybe we should use `std::optional<lldb_private::UUID>` here

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


More information about the lldb-commits mailing list