breakpad/src/common/windows
Hans Wennborg d6a6f52606 Strip LLVM-generated symbol suffixes when demangling Windows symbols
LLVM, especially in ThinLTO builds, sometimes puts a suffix on symbols
to give them a unique name. For example:

   ?foo@@YAXXZ$5520c83448162c04f2b239db4b5a2c61
   ?foo@@YAXXZ.llvm.1304071520971994875

Strip such suffixes in order to demangle the names.

Bug: chromium:1179132
Change-Id: Ibc8da0c605b95c6b9fc51802a56b89f6e7cfb7e1
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2739612
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
2021-03-08 20:26:34 +00:00
..
common_windows.gyp Fix common_windows.gyp. 2019-06-18 23:11:27 +00:00
dia_util.cc Add parameter --product to symupload.exe 2014-11-17 22:47:05 +00:00
dia_util.h Adding support for 64-bit Windows modules to ms_symbol_server_converter. 2014-04-10 17:54:52 +00:00
guid_string.cc Replace GB_WSU_SAFE_SWPRINTF_TERMINATE with inline code (#145 followup). 2007-04-04 16:13:55 +00:00
guid_string.h Fix Windows client compilation on mingw. 2014-11-03 17:05:39 +00:00
http_upload.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
http_upload.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
module_info.h Enable PE-only metadata dumping for 64bit (aka. PE32+ format) PEs files. 2019-06-12 21:20:27 +00:00
omap_internal.h Handle ntdll only emitting PUBLIC at func entry 2017-02-23 18:28:02 +00:00
omap_unittest.cc windows: update gtest/gmock paths 2017-02-11 18:03:31 +00:00
omap.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
omap.h Adding support for 64-bit Windows modules to ms_symbol_server_converter. 2014-04-10 17:54:52 +00:00
pdb_source_line_writer.cc Strip LLVM-generated symbol suffixes when demangling Windows symbols 2021-03-08 20:26:34 +00:00
pdb_source_line_writer.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
pe_source_line_writer.cc Fix common_windows.gyp. 2019-06-18 23:11:27 +00:00
pe_source_line_writer.h Enable PE-only metadata dumping for 64bit (aka. PE32+ format) PEs files. 2019-06-12 21:20:27 +00:00
pe_util.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
pe_util.h Fix dump_syms clang Windows build. 2019-06-25 00:28:04 +00:00
string_utils-inl.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
string_utils.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
symbol_collector_client.cc Port new symbol upload API to Windows symupload tool. 2019-06-12 20:56:37 +00:00
symbol_collector_client.h Port new symbol upload API to Windows symupload tool. 2019-06-12 20:56:37 +00:00