This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC Asan instrumentation control
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: m dot ostapenko at partner dot samsung dot com, jakub at redhat dot com
- Cc: y dot gribov at samsung dot com, gcc-patches at gcc dot gnu dot org, dominiq at lps dot ens dot fr
- Date: Tue, 21 Jan 2014 14:23:01 +0100
- Subject: Re: RFC Asan instrumentation control
- Authentication-results: sourceware.org; auth=none
- References: <20140121092408 dot 42148104 at mailhost dot lps dot ens dot fr> <52DE649F dot 1080306 at partner dot samsung dot com> <20140121123252 dot GK892 at tucnak dot redhat dot com>
> Patches should be posted to gcc-patches.
>From pr59897
--- ../_clean/gcc/testsuite/c-c++-common/asan/use-after-return-1.c 2014-01-09 10:14:04.000000000 +0100
+++ gcc/testsuite/c-c++-common/asan/use-after-return-1.c 2014-01-09 15:51:04.000000000 +0100
@@ -48,6 +48,6 @@ int main(int argc, char **argv) {
}
/* { dg-output "WRITE of size 1 at .* thread T0.*" } */
-/* { dg-output " #0.*Func2.*use-after-return-1.c:31.*" } */
+/* { dg-output " #0.*(Func2)?.*use-after-return-1.(c:31)?.*" } */
/* { dg-output "is located in stack of thread T0 at offset.*" } */
/* { dg-output "\'local\' <== Memory access at offset 32 is inside this variable" } */
but there is probably a better way to do it.
[r
I am leaving for a week with very limited access to the net. Feel free to do
what you think suitable.
TIA
Dominique