Am 10.03.2014 um 19:21 hat Markus Armbruster geschrieben:
Peter Maydell peter.mayd...@linaro.org writes:
On 10 March 2014 13:36, Markus Armbruster arm...@redhat.com wrote:
Peter Maydell peter.mayd...@linaro.org writes:
Turns out my clang installation doesn't support -fsanitize=undefined:
Peter Maydell peter.mayd...@linaro.org writes:
On 8 March 2014 12:39, Peter Maydell peter.mayd...@linaro.org 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':
Peter Maydell peter.mayd...@linaro.org 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
On 10 March 2014 12:21, Markus Armbruster arm...@redhat.com 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++'
Peter Maydell peter.mayd...@linaro.org writes:
On 10 March 2014 12:21, Markus Armbruster arm...@redhat.com 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
On 10 March 2014 13:36, Markus Armbruster arm...@redhat.com wrote:
Peter Maydell peter.mayd...@linaro.org 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
Peter Maydell peter.mayd...@linaro.org writes:
On 10 March 2014 13:36, Markus Armbruster arm...@redhat.com wrote:
Peter Maydell peter.mayd...@linaro.org writes:
Turns out my clang installation doesn't support -fsanitize=undefined: it
lacks libclang_rt.san-x86_64.a.
Test works fine without
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')
On 8 March 2014 12:39, Peter Maydell peter.mayd...@linaro.org 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: