[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>
Wed, 7 Jun 2023 18:17:25 +0000 (11:17 -0700)
commit5a9498124d5ed43cdde56eba8ccc8e82148dff40
tree32c6d8e94b04b54f907b7fa220aee46ad514800e
parentc3c2585bd5751e8776a187ed2cc0a37b6401f5af
[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