This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google] AddressSanitizer for gcc, first attempt. (issue 5272048)
- From: davidxl at google dot com
- To: konstantin dot s dot serebryany at gmail dot com, kcc at google dot com
- Cc: gcc-patches at gcc dot gnu dot org, reply at codereview dot appspotmail dot com
- Date: Tue, 18 Oct 2011 19:28:06 +0000
- Subject: Re: [google] AddressSanitizer for gcc, first attempt. (issue 5272048)
- Reply-to: konstantin dot s dot serebryany at gmail dot com, kcc at google dot com, davidxl at google dot com, gcc-patches at gcc dot gnu dot org, reply at codereview dot appspotmail dot com
http://codereview.appspot.com/5272048/diff/18001/tree-asan.c
File tree-asan.c (right):
http://codereview.appspot.com/5272048/diff/18001/tree-asan.c#newcode325
tree-asan.c:325: base = build_addr (t, current_function_decl);
You need to create a temp var and build as gimple assignment. See
init_tmp_var in tree-nested.c.
http://codereview.appspot.com/5272048/