lldb: remove assertion that target_arch is FreeBSD
authoremaste <emaste@FreeBSD.org>
Tue, 24 Apr 2018 19:26:58 +0000 (19:26 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 24 Apr 2018 19:26:58 +0000 (19:26 +0000)
commit9b56b13fa50d675fe85bc00541ecbaa4b04afa10
tree56ca41dcd08d73b444d8416291a9f4b1f2a5f1fe
parentdeddde63b9576323867462fc6bde2269a1f7d0a5
lldb: remove assertion that target_arch is FreeBSD

The target is not necessarily a FreeBSD binary - for example, it may be
a Linux binary running under the linuxulator.  Basic ptrace (live)
debugging already worked in this case, except for the assertion.

Sponsored by: Turing Robotic Industries Inc.
contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp