On Wed, Sep 24, 2014 at 12:38:05PM +0200, Jakub Jelinek wrote: > Ok for trunk? > > 2014-09-24 Jakub Jelinek <ja...@redhat.com> > > * ubsan.h (ubsan_get_source_location): New prototype. > * ubsan.c (ubsan_source_location_type): New variable. > Function renamed to ... > (ubsan_get_source_location_type): ... this. Cache > return value in ubsan_source_location_type variable. > (ubsan_source_location, ubsan_create_data): Use > ubsan_get_source_location_type instead of > ubsan_source_location_type. > * asan.c (asan_protect_global): Don't protect globals > with ubsan_get_source_location_type () type. > (asan_add_global): Provide global decl location info > if possible.
Ping? Jakub