aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2014-10-06 09:45:19 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2014-10-06 09:45:19 +0200
commit2d728155946d2a7c8060b09bf39db5ae9eb4f3ae (patch)
treed75918d55f1e705142a920718bf698283a96bbbe
parent21a82048f77104a3d76358f0ae97625312080573 (diff)
downloadgcc-2d728155946d2a7c8060b09bf39db5ae9eb4f3ae.zip
gcc-2d728155946d2a7c8060b09bf39db5ae9eb4f3ae.tar.gz
gcc-2d728155946d2a7c8060b09bf39db5ae9eb4f3ae.tar.bz2
ubsan.h (ubsan_get_source_location): New prototype.
* 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. From-SVN: r215917
-rw-r--r--gcc/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d102553..0441734 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,18 @@
+2014-10-06 Jakub Jelinek <jakub@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.
+
2014-10-04 Jan Hubicka <hubicka@ucw.cz>
* ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive