[TTC-5] Forbid section anchors for ASan build (PR sanitizer/81697) 47/147547/1 tizen_4.0_tv accepted/tizen/4.0/base/20170908.223630 submit/tizen_4.0_base/20170905.042846 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
authorSlava Barinov <v.barinov@samsung.com>
Thu, 3 Aug 2017 13:14:59 +0000 (16:14 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 5 Sep 2017 00:58:57 +0000 (09:58 +0900)
commitd15cfb7789229fdffd17f1e83178f4c9b7a9969e
tree8007eb075ffc65ff38e2366a778f63a61a8dd570
parent0d375fe98e5d68c7cce0f0c96e54ac992a9d223d
[TTC-5] Forbid section anchors for ASan build (PR sanitizer/81697)

       gcc/
       * varasm.c (use_object_blocks_p): Forbid section anchors for ASan

       gcc/testsuite/
       * g++.dg/asan/global-alignment.C: New test to test global
       variables alignment.

Change-Id: I3887e356397c599ec74793de6d60bc285a2c872b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
gcc/testsuite/g++.dg/asan/global-alignment.C [new file with mode: 0644]
gcc/varasm.c