Closed GoogleCodeExporter closed 9 years ago
Kostya, have you fixed inlining of no_sanitize_thread/no_sanitize_address
functions?
Such functions must not be inlined and preferably nothing must be inlined into
them.
Original comment by dvyu...@google.com
on 16 Oct 2013 at 3:20
I can confirm that this patch works :)
We're usually using the attributes together with __attribute__((noinline)) to
prevent inlining. So even if it doesn't work yet without that, it would be
worth applying the fix for now.
Original comment by decoder...@googlemail.com
on 16 Oct 2013 at 3:28
Thanks for testing!
Are you using clang tip for asan/tsan testing?
Original comment by dvyu...@google.com
on 16 Oct 2013 at 3:36
Yes, I think eugenis@ fixed inlining issue a while ago (function with
no_sanitize_foo attribute can't be inlined into function without such
attribute, and vice versa).
Original comment by samso...@google.com
on 16 Oct 2013 at 3:46
I've used clang tip to confirm the patch works, and I'm currently trying to
compile mozilla-central with that. But on our build infrastructure, we use an
older version for ASan testing.
Original comment by decoder...@googlemail.com
on 16 Oct 2013 at 3:49
>Yes, I think eugenis@ fixed inlining issue a while ago (function with
no_sanitize_foo attribute can't be inlined into function without such
attribute, and vice versa).
Great, thanks!
Original comment by dvyu...@google.com
on 16 Oct 2013 at 4:04
>I've used clang tip to confirm the patch works, and I'm currently trying to
compile mozilla-central with that. But on our build infrastructure, we use an
older version for ASan testing.
I see.
Original comment by dvyu...@google.com
on 16 Oct 2013 at 4:04
Mailed http://llvm-reviews.chandlerc.com/D1952
Original comment by dvyu...@google.com
on 16 Oct 2013 at 4:35
Fixed by r 192871, 192872.
Original comment by dvyu...@google.com
on 17 Oct 2013 at 8:10
Original issue reported on code.google.com by
konstant...@gmail.com
on 16 Oct 2013 at 2:43