[PATCH] D49498: Rename __asan_gen_* symbols to ___asan_gen_*.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 10:44:00 PDT 2018


pcc created this revision.
pcc added reviewers: eugenis, tejohnson.
Herald added subscribers: dexonsmith, hiraditya, mehdi_amini, kubamracek.
Herald added a reviewer: javed.absar.

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.


https://reviews.llvm.org/D49498

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49498.156107.patch
Type: text/x-patch
Size: 14217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180718/fe6c2937/attachment.bin>


More information about the llvm-commits mailing list