[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


================
@@ -289,6 +290,11 @@ llvm::Expected<LookupResult> FunctionInfo::lookup(DataExtractor &Data,
           return ExpectedLE.takeError();
         break;
 
+      case InfoType::MergedFunctionsInfo:
+        // Store the merged functions data for later parsing, if needed.
+        LR.MergedFunctionsData = InfoData;
+        break;
+
----------------
clayborg wrote:

Add an extra default arg to this function like:
```
DataExtractor *MergeFunctionInfoDataPtr;
```
Then assign it here if it is non NULL

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


More information about the llvm-commits mailing list