r215916 - in /trunk/gcc: asan.c ubsan.c ubsan.h

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Oct 6 07:44:00 GMT 2014


Author: jakub
Date: Mon Oct  6 07:44:13 2014
New Revision: 215916

URL: https://gcc.gnu.org/viewcvs?rev=215916&root=gcc&view=rev
Log:
	* 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.

Modified:
    trunk/gcc/asan.c
    trunk/gcc/ubsan.c
    trunk/gcc/ubsan.h



More information about the Gcc-cvs mailing list