[PATCH] D15644: [asan] Use private aliases for global variables (compiler-rt part).

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 10:14:35 PST 2016


m.ostapenko updated this revision to Diff 45281.
m.ostapenko added a comment.

Distinguish between two methods of ODR violation checking in runtime: old one (use __asan_region_is_poisoned) and new one (use odr indicators). This code looks scary, but it manages to preserve default behavior and enable new one if desired.


Repository:
  rL LLVM

http://reviews.llvm.org/D15644

Files:
  lib/asan/asan_flags.inc
  lib/asan/asan_globals.cc
  lib/asan/asan_interface_internal.h
  test/asan/TestCases/Linux/local_alias.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15644.45281.patch
Type: text/x-patch
Size: 7077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160119/bc5cf0d3/attachment-0001.bin>


More information about the llvm-commits mailing list