[all-commits] [llvm/llvm-project] f0ab8d: [ASan] Use debuginfo for symbolization.
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Wed Jun 15 15:37:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0ab8d90d47c4b1e0ea73e655777b4bc35e3f609
https://github.com/llvm/llvm-project/commit/f0ab8d90d47c4b1e0ea73e655777b4bc35e3f609
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2022-06-15 (Wed, 15 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/global-location.cpp
Log Message:
-----------
[ASan] Use debuginfo for symbolization.
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