You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GSYM] Add support for querying merged functions in llvm-gsymutil (#120991)
Adds the ability to lookup and display all merged functions for an
address in llvm-gsymutil.
Now, when `--merged-functions` is used in combination with
`--address/--addresses-from-stdin`, lookup results will contain
information about merged functions, if available.
To support printing merged function information when using the
`--verbose` option, the `LookupResult` data structure also had to be
extended with pointers to the raw function data and raw merged function
data. This is because merged functions share the same address range, so
it's not easy to look up the raw merged function data for a particular
`LookupResult` that is based on a merged function.
Copy file name to clipboardExpand all lines: llvm/tools/llvm-gsymutil/Opts.td
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,10 @@ defm convert :
17
17
Eq<"convert",
18
18
"Convert the specified file to the GSYM format.\nSupported files include ELF and mach-o files that will have their debug info (DWARF) and symbol table converted">;
19
19
def merged_functions :
20
-
FF<"merged-functions", "Encode merged function information for functions in debug info that have matching address ranges.\nWithout this option one function per unique address range will be emitted.">;
20
+
FF<"merged-functions", "When used with --convert, encodes merged function information for functions in debug info that have matching address ranges.\n"
21
+
"Without this option one function per unique address range will be emitted.\n"
22
+
"When used with --address/--addresses-from-stdin, all merged functions for a particular address will be displayed.\n"
23
+
"Without this option only one function will be displayed.">;
21
24
def dwarf_callsites : FF<"dwarf-callsites", "Load call site info from DWARF, if available">;
22
25
defm callsites_yaml_file :
23
26
Eq<"callsites-yaml-file", "Load call site info from YAML file. Useful for testing.">, Flags<[HelpHidden]>;
0 commit comments