[TTC-5] Forbid section anchors for ASan build (PR sanitizer/81697) 36/143336/3 accepted/tizen/base/20170908.223910 submit/tizen_base/20170905.003244 submit/tizen_base/20170907.223110
authorSlava Barinov <v.barinov@samsung.com>
Thu, 3 Aug 2017 13:14:59 +0000 (16:14 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Mon, 4 Sep 2017 06:06:09 +0000 (06:06 +0000)
commit91971721b75fcd6c83a36a72b0a8d7bb3ec1e91e
tree8007eb075ffc65ff38e2366a778f63a61a8dd570
parentf82588bbb3fe09f23a1e685e1506cf962c951da3
[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