[Lldb-commits] [PATCH] D76407: [lldb/testsuite] Remove "healthy process" test from TestProcessCrashInfo.py
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 20 00:30:59 PDT 2020
labath added a comment.
In D76407#1931335 <https://reviews.llvm.org/D76407#1931335>, @friss wrote:
> In D76407#1930693 <https://reviews.llvm.org/D76407#1930693>, @labath wrote:
>
> > Could the inferior manually wipe the crash annotation?
>
>
> This is not something you're supposed to wipe. It's additional information that is going to b dumped in the crashlog if the process crashes. If dyld runs in some kind of degraded mode, it will put this annotation there at program startup time and never remove it.
I can see how a "normal" application is not supposed to wipe that, but I think our test apps have some license to do unusual things... I don't know how hard would it be to implement the actual wiping..
Another option would be to run the test over a core file. That would have an additional advantage of being able to run on non-darwin platforms.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76407/new/
https://reviews.llvm.org/D76407
More information about the lldb-commits
mailing list