breakpad/src
Leonard Grey 38b6eebda1 Mac: shorten sym file names in upload_system_symbols
macOS caps filenames at 255 characters. When upload_system_symbols runs
`dump_syms`, the resulting filename is based on a mangled version of
the file's full path. In some circumstances (for example, the dumped
file itself lives in a temp directory), this name can exceed the max.

This change replaces the current mangling by mapping each path component but the last to its first initial, greatly shortening
the resulting filename.

Bug: 1400770
Change-Id: I68203a98eda2912893c5d8f7c676faee17e39e91
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4519231
Reviewed-by: Robert Sesek <rsesek@chromium.org>
2023-05-18 21:12:03 +00:00
..
client Modernize code 2023-05-12 18:17:39 +00:00
common Modernize code 2023-05-12 18:17:39 +00:00
google_breakpad Modernize code 2023-05-12 18:17:39 +00:00
processor Modernize code 2023-05-12 18:17:39 +00:00
third_party Reimport architecture/byte_order.h from canonical repo 2023-05-01 22:51:23 +00:00
tools Mac: shorten sym file names in upload_system_symbols 2023-05-18 21:12:03 +00:00
breakpad_googletest_includes.h Update copyright boilerplate, 2022 edition (Breakpad) 2022-09-07 16:59:53 +00:00
config.h.in enables C++17 mode 2022-10-14 19:08:12 +00:00