Fix TestAttachResume test so it doesn't hang on Linux with ptrace lockdown.
authorTodd Fiala <todd.fiala@gmail.com>
Sun, 26 Oct 2014 22:08:56 +0000 (22:08 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Sun, 26 Oct 2014 22:08:56 +0000 (22:08 +0000)
commit25a0ad9707861e4e3dd47cd8acdb3e2bc6686817
treed42a7ba01fdfc1e19d1ef99eaeaa0a5476c5225a
parent6bac95a33babd09b5612381d26a40693d61c37cc
Fix TestAttachResume test so it doesn't hang on Linux with ptrace lockdown.

Similar to previous fix, this augments the test inferior to
immediately indicate it may be ptraced by any Linux process
when the appropriate symbols are defined.

This seems to indicate we need to fix our lldb attach logic to
catch when an attach fails, and trigger an appropriate error
instead of the current behavior of hanging indefinitely.

llvm-svn: 220654
lldb/test/functionalities/attach_resume/main.cpp