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

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 11:48:25 PST 2016


m.ostapenko added a comment.

> However, please note that this is an ABI-breaking change: you will need to update asan_init_version.h


Right, thanks (though Yura had already pointed on this, but I forgot to make this change).


================
Comment at: lib/asan/asan_interface_internal.h:49
@@ -49,1 +48,3 @@
+    uptr beg;                // The private address of the global.
+    uptr odr_indicator;      // The address of the ODR indicator symbol.
     uptr size;               // The original size of the global.
----------------
samsonov wrote:
> Out of curiosity - why not make this new field last in the __asan_global structure?
Yeah, you are right, will fix this. 


Repository:
  rL LLVM

http://reviews.llvm.org/D15644





More information about the llvm-commits mailing list