This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Zero vptr in dtor for -fsanitize=vptr.
- From: Martin Liška <mliska at suse dot cz>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: Nathan Sidwell <nathan at acm dot org>, Jakub Jelinek <jakub at redhat dot com>, Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 5 Nov 2017 19:41:23 +0100
- Subject: Re: [PATCH] Zero vptr in dtor for -fsanitize=vptr.
- Authentication-results: sourceware.org; auth=none
- References: <63fcd2b6-44d0-cb4b-d518-99eb496c1686@suse.cz> <20171027112600.GD14653@tucnak> <c28079ae-8d28-113a-8c02-7e60e86b52bb@suse.cz> <20171027135259.GG14653@tucnak> <CADzB+2kAqgX6dfhuNvcvAKatjQxRnvxTBQ2ZvD84WRubr_EFWA@mail.gmail.com> <20171027181831.GH14653@tucnak> <a0aaef40-f741-034d-10cb-45fedc4616f7@acm.org> <20171027183428.GI14653@tucnak> <3ee8c949-aa07-a998-a082-34fb2b4f5c73@acm.org> <f6376de4-a151-3f22-afa8-c357f73c3c11@suse.cz> <20171103143112.GM8422@redhat.com>
On 11/03/2017 03:31 PM, Marek Polacek wrote:
I think the last dg-output shouldn't have any regexps at the end, so:
// { dg-output "0x\[0-9a-fA-F]*: note: object has invalid vptr" }
Thanks for that.
I'll fix it.
Martin