[all-commits] [llvm/llvm-project] 13e9c1: Reland "[ASan] Use debuginfo for symbolization."

Mitch Phillips via All-commits all-commits at lists.llvm.org
Thu Jun 16 13:59:20 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13e9c1d18e2e97f643353d38b3b58858a5a823d9
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2022-06-16 (Thu, 16 Jun 2022)

  Changed paths:
    M compiler-rt/lib/asan/asan_globals.cpp
    M compiler-rt/lib/asan/asan_interface_internal.h
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_const_string_oob.cpp
    A compiler-rt/test/asan/TestCases/global-location-nodebug.cpp
    M compiler-rt/test/asan/TestCases/global-location.cpp

  Log Message:
  Reland "[ASan] Use debuginfo for symbolization."

This reverts commit 99796d06dbe11c8f81376ad1d42e7f17d2eff6ae.

Hint: Looking here because your manual invocation of something in
'check-asan' broke? You need a new symbolizer (after D123538).

An upcoming patch will remove the internal metadata for global
variables. With D123534 and D123538, clang now emits DWARF debug info
for constant strings (the only global variable type it was missing), and
llvm-symbolizer is now able to symbolize all global variable addresses
(where previously it wouldn't give you the file:line information).

Move ASan's runtime over from the internal metadata to DWARF.

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

More information about the All-commits mailing list