OVERVIEW: A tool for dumping, searching and creating GSYM files.
Specify one or more GSYM paths as arguments to dump all of the information in each GSYM file.
Specify a single GSYM file along with one or more --lookup options to lookup addresses within that GSYM file.
Use the --convert option to specify a file with option --out-file option to convert to GSYM format.
USAGE: llvm-gsymutil [options]
OPTIONS:
--address= Lookup an address in a GSYM file
--addresses-from-stdin Lookup addresses in a GSYM file that are read from stdin
Each input line is expected to be of the following format:
--arch= Process debug information for the specified CPU architecture only.
Architectures may be specified by name or by number.
This option can be specified multiple times, once for each desired architecture
--convert= Convert the specified file to the GSYM format.
Supported files include ELF and mach-o files that will have their debug info (DWARF) and symbol table converted
--dwarf-callsites Load call site info from DWARF, if available
--help Display this help
-h Alias for --help
--json-summary-file=
Output a categorized summary of errors into the JSON file specified.
--merged-functions-filter=
When used with --address/--addresses-from-stdin and --merged-functions,
filters the merged functions output to only show functions matching any of the specified regex patterns.
Can be specified multiple times.
--merged-functions When used with --convert, encodes merged function information for functions in debug info that have matching address ranges.
Without this option one function per unique address range will be emitted.
When used with --address/--addresses-from-stdin, all merged functions for a particular address will be displayed.
Without this option only one function will be displayed.
--num-threads= Specify the maximum number (n) of simultaneous threads to use when converting files to GSYM.
Defaults to the number of cores on the current machine
--out-file= Specify the path where the converted GSYM file will be saved.
When not specified, a '.gsym' extension will be appended to the file name specified in the --convert option
-o Alias for --out-file
--quiet Do not output warnings about the debug information
--segment-size= Specify the size in bytes of the size the final GSYM file should be segmented into. This allows GSYM files to be split across multiple files
--verbose Enable verbose logging and encoding details
--verify Verify the generated GSYM file against the information in the file that was converted
--version Display the version
-v Alias for --version