diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2017-11-08 07:25:19 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2017-11-08 07:25:19 +0000 |
commit | a8c5460c8a699a9edaf7c3a6873f6a72f80b31c8 (patch) | |
tree | b550b9ff3d095a950b9a3cb2b41245ad9e5e8f7f /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py | |
parent | 3664aa8658e988d27f8ef23b10fc5cb3e8638715 (diff) | |
download | bcm5719-llvm-a8c5460c8a699a9edaf7c3a6873f6a72f80b31c8.tar.gz bcm5719-llvm-a8c5460c8a699a9edaf7c3a6873f6a72f80b31c8.zip |
Always use prctl(PR_SET_PTRACER)
Summary:
Sufficiently old Linux kernel headers don't provide the PR_SET_PTRACER, but we can still call prctl with it if the runtime kernel is newer. Even if it's not, prctl will only return EINVAL.
Patch by Mike Hommey <mh-llvm@glandium.org>
Reviewers: eugenis
Reviewed By: eugenis
Subscribers: sylvestre.ledru, cfe-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D39717
llvm-svn: 317668
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions