[lldb-dev] The LLVM Sanitizers stage accomplished
Kamil Rytarowski via lldb-dev
lldb-dev at lists.llvm.org
Thu Feb 1 09:46:59 PST 2018
Thanks!
The general goal of mine with the LLVM & surrounding work is to turn on
all the features and to enable the execution of regular tests.
Building and testing LLDB or other software, on a buildbot, under LLVM
Sanitizers has not been planned and is beyond the scope with the current
resources.
I must mention that it is possible and it would be a great goal to
achieve. First we would need to accomplish the goals mentioned in the
blog entry "Future directions and goals". In general while in the
current GNU/Linux distributions it's non-trivial to integrate sanitizers
(see:
http://dev.chromium.org/developers/testing/instrumented-libraries-for-dynamic-tools
or https://github.com/google/sanitizers/wiki/MemorySanitizerLibcxxHowTo
) it's relatively simple in an Operating System distribution such as NetBSD.
Just turn a global distribution option like "MKSANITIZER=Thread" or
"MemoryWithOrigins", build the userland and we are ready to go. To name
a few dependencies of LLDB will get ready to use out-of-the-box
libraries for *San: -lkvm, -ledit, -lterminfo, -lcurses, -lform,
-lpanel, -lz, -lelf, -l[std]c++, -lpython, -lxml.
Getting this finished is a lot of work in the current circumstances and
if we could get interest and help (namely more people aboard working on
it) from e.g. Chromium guys to build such infrastructure - I will ensure
to make it happen.
On 01.02.2018 18:09, Zachary Turner wrote:
> Great work. Have you tried (or considered) setting up an LLDB buildbot
> that runs the LLDB test suite with all of the sanitizers turned on?
>
> On Thu, Feb 1, 2018 at 5:39 AM Kamil Rytarowski via lldb-dev
> <lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>> wrote:
>
> I've finished the interruption for LLVM Sanitizers:
>
> http://blog.netbsd.org/tnf/entry/the_llvm_sanitizers_stage_accomplished
>
>
> Plan for the next milestone:
>
> Keep upstreaming a pile of local compiler-rt patches.
> Restore the LLDB support for traced programs with a single thread.
>
>
> This work was sponsored by <The NetBSD Foundation>.
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 850 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180201/f39bb94c/attachment.sig>
More information about the lldb-dev
mailing list