[Lldb-commits] [PATCH] D26315: make-core.sh: add FreeBSD support
Ed Maste via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 4 16:22:15 PDT 2016
emaste added a comment.
Output on FreeBSD, with the patch:
% sh make-core.sh main.c
+ file=main.c
+ [ -z main.c ]
+ [ FreeBSD '=' Linux ]
+ ulimit -c 1000
+ ulimit -c
+ real_limit=1000
+ [ 1000 -lt 100 ]
+ cc -nostdlib -static -g main.c -o a.out
+ cat
Executable file is in a.out.
Core file will be saved according to pattern %N.core.
+ ulimit -s 8
+ exec ./a.out
zsh: segmentation fault (core dumped) sh make-core.sh main.c
https://reviews.llvm.org/D26315
More information about the lldb-commits
mailing list