summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-07-10 02:17:31 +0000
committerJason Molenda <jmolenda@apple.com>2014-07-10 02:17:31 +0000
commit8c074015047cf88fea703d981ba214d895a744d3 (patch)
treefb2d2d7788a2f2798310f90d37e5158ddfd9fab0 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parente81b42fde98c5c2fb023d9cca5c79ed10dfde7ef (diff)
downloadbcm5719-llvm-8c074015047cf88fea703d981ba214d895a744d3.tar.gz
bcm5719-llvm-8c074015047cf88fea703d981ba214d895a744d3.zip
Add a new test in api/multiple-debuggers which tries to create 50
debug sessions simultaneously to expose race conditoin/locking issues. This directory has an inferior program, testprog.cpp that has a couple of functions we can put breakpoints on. It has a driver program, multi-process-driver.cpp, which links against the LLDB solib and uses the SB APIs. It creates 50 pthreads, creates a debugger on all of them, launches a debug session of the inferior testprog, hits a couple breakpoints, walks the stack, continues, etc., and then kills the inferior and ends the debug session. A pass is if all fifty debug sessions complete successfully in the alloted time (~60 seconds). We may need to tweak this one to work correctly on different platforms/targets but I wanted to get it checked in to start. llvm-svn: 212671
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud