[Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin
authorusama hameed <u_hameed@apple.com>
Tue, 6 Jun 2023 22:53:18 +0000 (15:53 -0700)
committerusama hameed <u_hameed@apple.com>
Tue, 6 Jun 2023 23:37:39 +0000 (16:37 -0700)
commitfdb1a891b64c27522a2386a8025f8ad5c7e02bfb
tree46f2e3dd25922f5fa64b551a60e822c6ec2ac8fb
parentbb398898dad98e001f8b665a37ab6fb8cef70814
[Sanitizers] Remove BuildId from sanitizers stacktrace on Darwin

On Darwin, we do not want to show the BuildId appended at the end of stack
frames in Sanitizers. The BuildId/UUID can be seen by using the
print_module_map=1 sanitizer option.

Differential Revision: https://reviews.llvm.org/D150298

rdar://108324403
compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp
compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_printer_test.cpp