Rename __asan_gen_* symbols to ___asan_gen_*.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Jul 2018 22:23:14 +0000 (22:23 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Jul 2018 22:23:14 +0000 (22:23 +0000)
commit4a653fa7f1818b4384437ba65e1d2cce9ed46f79
tree2156e52183e2487400339df3c59e1648b4093f57
parent4a2948253fd59444ba2e0ce7384d1ca2f8a4f8f3
Rename __asan_gen_* symbols to ___asan_gen_*.

This prevents gold from printing a warning when trying to export
these symbols via the asan dynamic list after ThinLTO promotes them
from private symbols to external symbols with hidden visibility.

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

llvm-svn: 337428
12 files changed:
compiler-rt/test/asan/TestCases/Darwin/asan_gen_prefixes.cc
compiler-rt/test/asan/TestCases/Posix/no_asan_gen_globals.c
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/test/DebugInfo/AArch64/asan-stack-vars.ll
llvm/test/DebugInfo/COFF/asan-module-without-functions.ll
llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll
llvm/test/DebugInfo/X86/dbg_value_direct.ll
llvm/test/DebugInfo/X86/debug-loc-asan.ll
llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-profiling-globals.ll
llvm/test/Instrumentation/AddressSanitizer/global_metadata.ll
llvm/test/Instrumentation/AddressSanitizer/global_metadata_array.ll
llvm/test/Instrumentation/AddressSanitizer/instrument_global.ll