Initializes the program counter symbolizer, given the path of the program (typically obtained through main()s argv[0]). The Abseil symbolizer allows you to read program counters (instruction pointer values) using their human-readable names within output such as stack traces.
Declared in <absl/debugging/symbolize.h>
void
InitializeSymbolizer(char const* argv0);
Example:
int main(int argc, char *argv[]) { absl::InitializeSymbolizer(argv[0]); // Now you can use the symbolizer }
| Name | Description |
|---|---|
| argv0 | Path of the running program, typically argv[0] from main(). |