Displaying 20 results from an estimated 108 matches for "vyukov".
2016 Sep 02
2
call_once and TSan
> On 2 Sep 2016, at 12:11, Dmitry Vyukov <dvyukov at google.com> wrote:
>
> On Fri, Sep 2, 2016 at 12:09 PM, Kuba Brecka <kuba.brecka at gmail.com> wrote:
>>
>>> On 2 Sep 2016, at 11:18, Dmitry Vyukov via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>
>>> On Thu, Sep 1, 2016 at...
2015 Sep 08
2
[ThreadSanitizer] Get deadlocks working
...needs to be
split into pre and post parts. The deadlock detector already has
separate callbacks for these events, it is just a matter of threading
these callbacks through tsan code.
You can look at the standalone deadlock detector in
lib/tsan/dd/dd_interceptors.cc, it does it correctly.
--
Dmitry Vyukov, Software Engineer, dvyukov at google.com
Google Germany GmbH, Dienerstraße 12, 80331, München
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat
si...
2016 Jan 22
4
greendragon build noisy due to mmap_stress.cc
On Fri, Jan 22, 2016 at 4:17 PM, Dmitry Vyukov <dvyukov at google.com> wrote:
> On Fri, Jan 22, 2016 at 4:11 PM, Kuba Brecka <jbrecka at apple.com> wrote:
>> Hm, I tried to reproduce this as well, but unsuccessfully. From the crash
>> report: EXC_I386_GPFLT means we’re dereferencing a non-canonical pointer,
>>...
2016 Nov 25
5
[PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()
On 11/25/2016 05:17 PM, Peter Zijlstra wrote:
> On Fri, Nov 25, 2016 at 04:10:04PM +0000, Mark Rutland wrote:
>> On Fri, Nov 25, 2016 at 04:21:39PM +0100, Dmitry Vyukov wrote:
>
>>> What are use cases for such primitive that won't be OK with "read once
>>> _and_ atomically"?
>>
>> I have none to hand.
>
> Whatever triggers the __builtin_memcpy() paths, and even the size==8
> paths on 32bit.
>
> You c...
2016 Nov 25
5
[PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()
On 11/25/2016 05:17 PM, Peter Zijlstra wrote:
> On Fri, Nov 25, 2016 at 04:10:04PM +0000, Mark Rutland wrote:
>> On Fri, Nov 25, 2016 at 04:21:39PM +0100, Dmitry Vyukov wrote:
>
>>> What are use cases for such primitive that won't be OK with "read once
>>> _and_ atomically"?
>>
>> I have none to hand.
>
> Whatever triggers the __builtin_memcpy() paths, and even the size==8
> paths on 32bit.
>
> You c...
2019 Jan 04
2
[lit] check-all hanging
...me on Linux.
> >
> > How can we stabilize the sanitizer tests so that check-all can work
> > reliably? If some sanitizer tests are so flaky, I should think they
> > should be marked UNSUPPORTED. Who has the authority to make those
> > determinations?
>
> Dmitry Vyukov does. CC'ing him.
Are there any special repro instructions? I am running all tsan tests
periodically on linux and none of them flakes.
2016 Sep 02
2
call_once and TSan
...he (extra) __tsan_release... Do you think that would work? E.g.:
void call_once_callback_wrapper(...) {
orig_func(orig_arg);
__tsan_release(flag);
}
INTERCEPTOR(call_once, o, func, arg) {
REAL(call_once)(flag, ..., call_once_callback_wrapper);
}
Kuba
> On 2 Sep 2016, at 13:42, Dmitry Vyukov <dvyukov at google.com> wrote:
>
> INTERCEPTOR(call_once, o) {
> __tsan_release_merge(o);
> REAL(call_once)(o);
> __tsan_acquire(o);
> }
>
> ?
>
>
> On Fri, Sep 2, 2016 at 12:16 PM, Kuba Brecka <kuba.brecka at gmail.com> wrote:
>>
>&g...
2017 Jul 10
1
Using TSAN along with custom llvm IR pass
...t it using 'opt -tsan ...', it gives a warning
"WARNING: You're attempting to print out a bitcode file." I guess this
method doesn't instrument the code.
Is there any other way I can instrument the code with tsan?
On Monday, July 10, 2017 at 7:21:28 AM UTC+2, Dmitry Vyukov wrote:
>
> On Sun, Jul 9, 2017 at 3:50 PM, Nischai Vinesh <nischai... at gmail.com
> <javascript:>> wrote:
> > Hello,
> >
> > I tried that as well but there are no tsan warnings thrown at run time,
> even
> > though there are data race error!
&...
2016 Sep 02
2
call_once and TSan
> On 2 Sep 2016, at 11:18, Dmitry Vyukov via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> On Thu, Sep 1, 2016 at 2:30 PM, Kuba Brecka <kuba.brecka at gmail.com> wrote:
>> Hi,
>>
>> I'm trying to write a TSan interceptor for the C++11 call_once function. There are currently false positive repo...
2014 Apr 18
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Fri, Apr 18, 2014 at 11:44 AM, Dmitry Vyukov <dvyukov at google.com> wrote:
> On Fri, Apr 18, 2014 at 11:32 AM, Dmitry Vyukov <dvyukov at google.com>wrote:
>
>> On Fri, Apr 18, 2014 at 11:13 AM, Dmitry Vyukov <dvyukov at google.com>wrote:
>>
>>> Hi,
>>>
>>> This is long thread, s...
2014 Apr 18
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Fri, Apr 18, 2014 at 11:13 AM, Dmitry Vyukov <dvyukov at google.com> wrote:
> Hi,
>
> This is long thread, so I will combine several comments into single email.
>
>
> >> - 8-bit per-thread counters, dumping into central counters on overflow.
> >The overflow will happen very quickly with 8bit counter.
>...
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
> On Jul 1, 2016, at 12:10 PM, Dmitry Vyukov <dvyukov at google.com> wrote:
>
> On Fri, Jul 1, 2016 at 8:53 PM, Anna Zaks <ganna at apple.com> wrote:
>> Hi Sanitizer Runtime Developers,
>>
>> We recently ran into a problem building clang because some of the
>> definitions in sanitizer_common conflic...
2016 Feb 02
2
greendragon build noisy due to mmap_stress.cc
On Tue, Feb 2, 2016 at 5:24 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Tue, Feb 2, 2016 at 8:23 AM, Nico Weber <thakis at google.com> wrote:
>>
>> http://lab.llvm.org:8011/builders/clang-ppc64be-linux-multistage/builds/60
>> probably didn't use OS X?
>
>
> Fair point - Kostya/Dmitry, any ideas here?
>
>>
>>
>>
2014 Apr 25
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Apr 24, 2014, at 1:33 AM, Dmitry Vyukov <dvyukov at google.com> wrote:
>>
>> I can see that the behavior of our current instrumentation is going to be a
>> problem for the kinds of applications that you’re looking at. If you can
>> find a way to get the overhead down without losing accuracy
>
> What...
2015 Aug 18
5
TSAN hack on AArch64 for Android
On Tue, Aug 18, 2015 at 10:53 PM, Renato Golin <renato.golin at linaro.org> wrote:
> On 18 August 2015 at 19:57, Dmitry Vyukov <dvyukov at google.com> wrote:
>> Hi Renato,
>>
>> What exactly hack/hacks do you mean?
>
> Hi Dmitry,
>
> The sanitizer code seems to be more accepting to adding complicated
> pre-processor logic, as well as a number of alternative functions to
> work arou...
2017 Jun 27
2
Using TSAN along with custom llvm IR pass
On Tue, Jun 27, 2017 at 4:18 PM, Nischai Vinesh
<nischai.vinesh at gmail.com> wrote:
> Hello,
>
> I have written a custom pass to do some tasks and I want to run this pass on
> a source code file along with TSAN instrumentation.
>
> Steps I followed:
> 1. I compiled the code file with -fsanitize=thread and -emit-llvm to get the
> byte code of the file
> 2. Used
2017 Jun 28
1
Using TSAN along with custom llvm IR pass
On Tue, Jun 27, 2017 at 6:00 PM, Dmitry Vyukov <dvyukov at google.com> wrote:
> On Tue, Jun 27, 2017 at 4:18 PM, Nischai Vinesh
> <nischai.vinesh at gmail.com> wrote:
>> Hello,
>>
>> I have written a custom pass to do some tasks and I want to run this pass on
>> a source code file along with TSAN instru...
2017 Jul 10
4
Using TSAN along with custom llvm IR pass
On Sun, Jul 9, 2017 at 3:50 PM, Nischai Vinesh <nischai.vinesh at gmail.com> wrote:
> Hello,
>
> I tried that as well but there are no tsan warnings thrown at run time, even
> though there are data race error!
>
> The steps I followed:
> 1. Generate bitcode using 'clang -emit-llvm' command
> 2. Using the 'opt -load ..' command, I instrumented the
2016 Nov 25
3
[PATCH 0/3] virtio/vringh: kill off ACCESS_ONCE()
On Fri, Nov 25, 2016 at 04:21:39PM +0100, Dmitry Vyukov wrote:
>
> READ/WRITE_ONCE imply atomicity. Even if their names don't spell it (a
> function name doesn't have to spell all of its guarantees). Most of
> the uses of READ/WRITE_ONCE will be broken if they are not atomic.
In practice, this is certainly the assumption made by ma...
2012 Aug 15
2
[LLVMdev] C++ demangling in LLVM
15.08.2012, 19:25, "Villmow, Micah" <Micah.Villmow at amd.com>:
> Three reasons.
> 1) I need to modify the code to support extensions to the standard demangler.
> 2) GCC's version is GPL v3.
And?
BTW, there is BSD-licensed implementation of __cxa_demangle in libcxxrt
> 3) Need windows support.
>
> Micah
--
Regards,
Konstantin