https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631
--- Comment #3 from Denis Khalikov <d.khalikov at partner dot samsung.com> --- Created attachment 40963 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40963&action=edit patch for PR sanitizer/77631 Hello everyone, i have a patch for this issue. (see attachment PR_sanitizer_77631) List of implemented functionality: 1.Reading .gnu_debuglink section from ELF file: a. Reading name of debug info file. b. Verifying crc32 sum. 2. Searching for separate debug info file from paths: a. /usr/lib/debug/path/to/executable b. /path/to/executable c. /path/to/executable/.debug Assumed that debug info file generated by objcopy from binutils. objcopy --only-keep-debug foo foo.debug strip -g foo objcopy --add-gnu-debuglink=foo.debug foo