Am 10.03.2014 um 19:21 hat Markus Armbruster geschrieben:
> Peter Maydell writes:
>
> > On 10 March 2014 13:36, Markus Armbruster wrote:
> >> Peter Maydell writes:
> >> Turns out my clang installation doesn't support -fsanitize=undefined: it
> >> lacks libclang_rt.san-x86_64.a.
> >>
> >> Test w
Peter Maydell writes:
> On 10 March 2014 13:36, Markus Armbruster wrote:
>> Peter Maydell writes:
>> Turns out my clang installation doesn't support -fsanitize=undefined: it
>> lacks libclang_rt.san-x86_64.a.
>>
>> Test works fine without -fsanitize=undefined. I set a breakpoint on
>> visit_ty
On 10 March 2014 13:36, Markus Armbruster wrote:
> Peter Maydell writes:
> Turns out my clang installation doesn't support -fsanitize=undefined: it
> lacks libclang_rt.san-x86_64.a.
>
> Test works fine without -fsanitize=undefined. I set a breakpoint on
> visit_type_UserDefA_fields, and there's
Peter Maydell writes:
> On 10 March 2014 12:21, Markus Armbruster wrote:
>> My local clang doesn't complain. May I have your clang version, exact
>> invocation and output?
>
> clang version 3.3 (tags/RELEASE_33/final)
>
> mkdir build/clang
> (cd build/clang && '../../configure' '--cc=clang' '--
On 10 March 2014 12:21, Markus Armbruster wrote:
> My local clang doesn't complain. May I have your clang version, exact
> invocation and output?
clang version 3.3 (tags/RELEASE_33/final)
mkdir build/clang
(cd build/clang && '../../configure' '--cc=clang' '--cxx=clang++'
'--enable-gtk' '--targe
Peter Maydell writes:
> I've noticed that the tests/test-qapi-visit.c code provokes the following
> complaint from clang's -fsanitize=undefined undefined-behaviour
> checker when you run 'make check':
>
> tests/test-qapi-visit.c:462:33: runtime error: member access within
> null pointer of type '
Peter Maydell writes:
> On 8 March 2014 12:39, Peter Maydell wrote:
>> I've noticed that the tests/test-qapi-visit.c code provokes the following
>> complaint from clang's -fsanitize=undefined undefined-behaviour
>> checker when you run 'make check':
>>
>> tests/test-qapi-visit.c:462:33: runtime
On 8 March 2014 12:39, Peter Maydell wrote:
> I've noticed that the tests/test-qapi-visit.c code provokes the following
> complaint from clang's -fsanitize=undefined undefined-behaviour
> checker when you run 'make check':
>
> tests/test-qapi-visit.c:462:33: runtime error: member access within
> n
I've noticed that the tests/test-qapi-visit.c code provokes the following
complaint from clang's -fsanitize=undefined undefined-behaviour
checker when you run 'make check':
tests/test-qapi-visit.c:462:33: runtime error: member access within
null pointer of type 'UserDefA' (aka 'struct UserDefA')