To have file name and line information in stack traces (per stack frame) it's necessary to implement findModulesAndOffsets.
With this implementation, stack traces can show source location information on macOS (64-bit, for now). To make it work I used the cmake option LLVM_EXTERNALIZE_DEBUGINFO=True to generate the .dSYM directories and changed the calls to llvm-symbolizer to pass --dsym-hint arguments with the generated .dSYM directories (see follow-up patch D142283). Tested on macOS 13.1.
The variable style isn't LLVM right now it seems, can you fix it?