|
From: Florian K. <fl...@ei...> - 2013-10-19 09:06:52
|
A while ago I began looking at getting valgrind to work with
clang 3.3 on x86-64. I haven't had much time to continue doing
that lately so it wanted to share the status of where that stands.
Currently, valgrind and its testsuite can be compiled and built without
errors and warnings about the code. There are warnings about some
unsupported command line options that could easily be suppressed.
But as they may be relevant to regression test failures I did not
suppress them for now.
Regression tests run through (no hangs). There are 125 failing
testcases:
#fails cause
helgrind 20 missing frame in backtrace (suspect inlining)
helgrind 11 DW_TAG_compile_unit
drd 56 DW_TAG_compile_unit
exp-sgcheck 5 DW_TAG_compile_unit
exp-sgcheck 1 not investigated
exp-bbv 1 not investigated
gdbserver 5 not investigated
none 1 amd64/sse4-64 (fails elsewhere with GCC, too)
memcheck 7 DW_TAG_compile_unit
memcheck 18 extra / missing / different complaints
The most prominent cause for failure is missing support for
DW_TAG_compile_unit. Assuming that there are no further unexpected
complaints popping up once DW_TAG_compile_unit is supported this
doesn't look all that bad really. Although I suspect investigating
the memcheck differences will be time consuming.
I did not look at performance comparison with GCC as that does not
make much sense at this point.
Florian
|