[Lldb-commits] [lldb] Read and store gnu build id from loaded core file (PR #92492)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri May 17 09:15:06 PDT 2024
================
@@ -117,6 +117,13 @@ class ProcessElfCore : public lldb_private::PostMortemProcess {
lldb::addr_t end;
lldb::addr_t file_ofs;
std::string path;
+ lldb_private::UUID uuid; //.note.gnu.build-id
+ };
+
+ struct Section_Note {
+ uint32_t namesz;
+ uint32_t descsz;
+ uint32_t type;
----------------
clayborg wrote:
or move it into ELFHeader.h and then add a parse method. We are using a ton of stuff already from ELFHeader.h, so we should follow that path
https://github.com/llvm/llvm-project/pull/92492
More information about the lldb-commits
mailing list