[Lldb-commits] [lldb] Read and store gnu build id from loaded core file (PR #92492)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri May 17 03:57:25 PDT 2024
================
@@ -158,6 +165,16 @@ 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 value of certain type of note of a given start address
+ std::optional<lldb_private::UUID> FindNote(const lldb::addr_t address,
----------------
labath wrote:
`const` on a value parameter (pointer and reference parameters are of course different) declaration don't actually do anything, and I don't believe we usually use them.
If you really want to you can still make them `const` in [the function definition](https://godbolt.org/z/PxM739P84) even if they're not const in the header (though we usually don't do that either).
https://github.com/llvm/llvm-project/pull/92492
More information about the lldb-commits
mailing list