sanititer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 16 Jan 2015 17:49:56 +0000 (17:49 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Fri, 16 Jan 2015 17:49:56 +0000 (17:49 +0000)
commitcbf9a56669cf7ca630b941dce4a7e118b7012f57
tree9027a397ba33ba154f6736baa3e9a09c58342c16
parent39dac19e286a8b23b0e3bdde6ba18b65f3f919f8
sanititer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.

2015-01-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * sanititer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
        * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.

gcc/testsuite/ChangeLog
2015-01-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * g++.dg/tsan/vptr_benign_race.C: New testcase.
        * g++.dg/tsan/vptr_harmful_race.C: New testcase.

From-SVN: r219761
gcc/ChangeLog
gcc/sanitizer.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tsan/vptr_benign_race.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tsan/vptr_harmful_race.C [new file with mode: 0644]
gcc/tsan.c