This is a compiler-rt part of this http://reviews.llvm.org/D15642 patch. Here, we change the way how we detect ODR violation. Instead of using __asan_region_is_poisoned(g->beg, g->size_with_redzone) on global address (that would be false now due to using private alias), we use new globally visible indicator symbol to perform the check.
Does this look like a reasonable approach?