ASAN: keep support for Global::location
authorMartin Liska <mliska@suse.cz>
Mon, 20 Feb 2023 20:06:08 +0000 (21:06 +0100)
committerMartin Liska <mliska@suse.cz>
Fri, 24 Feb 2023 08:10:56 +0000 (09:10 +0100)
commit8f5962b1ccb5fcd4d4544121d43efb860ac3cc6d
treec5f463e31c4ecf27d200312f615fd6aaa5bdb14c
parentce8dbe3c253147b6229a34899d2adc5bc705157c
ASAN: keep support for Global::location

We as GCC still emit __asan_global_source_location for global variables
and we would like to use it in the future. On other hand, we don't
support llvm-symbolizer and the default libbacktraace symbolizer
does not support location info.

Differential Revision: https://reviews.llvm.org/D144424
compiler-rt/lib/asan/asan_globals.cpp
compiler-rt/lib/asan/asan_interface_internal.h