[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 3/9] new: blacklist.tsan
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH v2 3/9] new: blacklist.tsan |
Date: |
Thu, 22 Sep 2016 15:11:43 +0100 |
User-agent: |
mu4e 0.9.17; emacs 25.1.14 |
Eric Blake <address@hidden> writes:
> On 09/22/2016 05:13 AM, Alex Bennée wrote:
>> A list of blacklists for tsan instrumentation. One hopes more can be
>> removed over time as tsan improves.
>
> A list of one file? It sounds like this sentence is stale, from an
> earlier revision where the blacklist was longer.
When I was going through the compiler failures and added the first one I
assumed more would be needed ;-)
>
>>
>> The path needs to be absolute so it doesn't break when directories
>> change during the build:
>>
>> ./configure --with-coroutine=gthread --disable-pie \
>> --extra-cflags="-g3 -O0 -fsanitize=thread \
>> -fsanitize-blacklist=/home/alex/lsrc/qemu/qemu.git/blacklist.tsan"
>>
>
> Is there any way to make configure automatically convert a relative name
> into an absolute?
We could teach configure about the sanitizers and embed the knowledge
there.
>
>> Signed-off-by: Alex Bennée <address@hidden>
>> Reviewed-by: Marc-André Lureau <address@hidden>
>> ---
>> blacklist.tsan | 2 ++
>> 1 file changed, 2 insertions(+)
>> create mode 100644 blacklist.tsan
>>
>> diff --git a/blacklist.tsan b/blacklist.tsan
>> new file mode 100644
>> index 0000000..9e53a84
>> --- /dev/null
>> +++ b/blacklist.tsan
>> @@ -0,0 +1,2 @@
>> +# the vector intrinsics upset tsan
>> +src:bufferiszero.c
>>
--
Alex Bennée
- [Qemu-devel] [PATCH v2 0/9] A couple of fixes for ThreadSanitizer, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 2/9] tcg/optimize: move default return out of if statement, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 1/9] ui/vnc-enc-tight: remove switch and have single return, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 4/9] seqlock: use atomic writes for the sequence, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 6/9] cpu: atomically modify cpu->exit_request, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 3/9] new: blacklist.tsan, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 8/9] qga/command: use QEMU atomic primitives, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 5/9] qom/object: update class cache atomically, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 9/9] .travis.yml: add gcc sanitizer build, Alex Bennée, 2016/09/22
- [Qemu-devel] [PATCH v2 7/9] util/qht: atomically set b->hashes, Alex Bennée, 2016/09/22
- Re: [Qemu-devel] [PATCH v2 0/9] A couple of fixes for ThreadSanitizer, Paolo Bonzini, 2016/09/30