Change the unwinder to not use a hard-coded limit on the
authorJason Molenda <jmolenda@apple.com>
Tue, 25 Sep 2018 21:01:54 +0000 (21:01 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 25 Sep 2018 21:01:54 +0000 (21:01 +0000)
commita11b3fe26f468d00a3006c14e94056b0652e28e6
tree811b60e85c4e70b8878f2e6d0aee0f07871e99d4
parentb1e3d4531826e6134b05e8ff3c96a5696a72ad50
Change the unwinder to not use a hard-coded limit on the
max number of stack frames to backtrace, make it a setting,
target.process.thread.max-backtrace-depth.
Add a test case for the setting.

<rdar://problem/28759559>

llvm-svn: 343029
lldb/include/lldb/Target/Thread.h
lldb/packages/Python/lldbsuite/test/functionalities/thread/backtrace_limit/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/thread/backtrace_limit/TestBacktraceLimit.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/thread/backtrace_limit/main.cpp [new file with mode: 0644]
lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
lldb/source/Target/Thread.cpp