krytarowski added a comment.

In https://reviews.llvm.org/D32149#731887, @labath wrote:

> A test would infinitely times more valuable then a demo script. What is the 
> tiniest core file you can produce on NetBSD? (on linux we've gotten them down 
> to about 20K) Then we could check that in and write a test for it...


This is something I wanted to bring to the dev mailing list.

I wanted to prepare at least three tests, if possible four:

- one thread (if possible two variations: signal to one particular thread + 
signal to all threads)
- multiple threads (signal to one particular thread + signal to all threads)

And this in combination of all supported targets (x86_64, i386, etc).

Emitting SIGABRT for such program gives core of size 97kilobytes:

  int main(){for(;;);}

I will write assembly programs for the above cases, without libc.


Repository:
  rL LLVM

https://reviews.llvm.org/D32149



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to