[Lldb-commits] [PATCH] D15992: Centralize the handling of attach permissions on linux in tests

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 8 04:08:38 PST 2016


labath created this revision.
labath added a reviewer: clayborg.
labath added a subscriber: lldb-commits.

On linux we need the process to give us special permissions before we can attach to it.
Previously, the code for this was copied into every file that needed it. This moves the code to a
central place to reduce code duplication.

http://reviews.llvm.org/D15992

Files:
  packages/Python/lldbsuite/test/driver/batch_mode/main.c
  packages/Python/lldbsuite/test/functionalities/attach_resume/main.cpp
  packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp
  packages/Python/lldbsuite/test/functionalities/process_group/main.c
  packages/Python/lldbsuite/test/functionalities/register/main.cpp
  packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/main.cpp
  packages/Python/lldbsuite/test/make/test_common.h
  packages/Python/lldbsuite/test/python_api/hello_world/main.c
  packages/Python/lldbsuite/test/tools/lldb-server/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15992.44316.patch
Type: text/x-patch
Size: 11511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160108/cc072359/attachment.bin>


More information about the lldb-commits mailing list