[llvm] [GSYM] Add support for querying merged functions in llvm-gsymutil (PR #120991)

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 10:35:14 PST 2025


================
@@ -342,6 +342,41 @@ llvm::Expected<LookupResult> GsymReader::lookup(uint64_t Addr) const {
     return ExpectedData.takeError();
 }
 
+llvm::Expected<std::vector<LookupResult>>
+GsymReader::lookupAll(uint64_t Addr) const {
+  std::vector<LookupResult> Results;
+
+  // First perform a lookup to get the primary function info result
----------------
clayborg wrote:

Add periods at the end of each comment per llvm coding guidelines

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


More information about the llvm-commits mailing list