llvm-project/lldb/examples
Sean Callanan d181730aa5 Added a stress-tester for LLDB's disassembler.
Right now it only works on Mac OS X, but other
platforms would just need to add their own
implementation of AddLLDBToSysPathOn*().

The stress-tester has two modes:

Used with --bytes N --random, the stress-tester
generates random instructions of length N and
runs them through the disassembler.  This is
suitable for architectures like Intel where it
is combinatorially infeasible to run through the
entire space of possible instructions.

Used with --bytes N and no arguments (or --start
S --stride T), the stress-tester tests the
disassembler with a monotonically increasing
sequence of instructions.

The --start and --stride arguments are intended
for use in multiprocessing environments.  Give
each core an ID from 0 .. T-1, pass the ID in as
the --start, and use T as the stride, and you
can launch one copy of the stress-tester on each
core you have available.

llvm-svn: 154143
2012-04-06 00:04:36 +00:00
..
customization Warn about an example script being obsoleted by new native features and just an example 2012-03-16 01:25:01 +00:00
darwin/heap_find <rdar://problem/10103468> 2012-02-24 01:59:29 +00:00
interposing/darwin/fd_interposing Revert accidental commit. 2012-02-21 19:02:29 +00:00
lookup Use a sentry object to properly initialize/terminate LLDB. 2012-02-22 02:03:13 +00:00
python Added a stress-tester for LLDB's disassembler. 2012-04-06 00:04:36 +00:00
scripting Add source files for Python scripting example (coming soon). 2011-06-02 23:23:47 +00:00
summaries One last syntax error fix 2012-04-02 23:49:34 +00:00
synthetic Making sure the count on synthetic providers is always setup - This should prevent errors about count being undefined from showing up 2012-03-31 00:15:24 +00:00
test Add comment explaining the options used to invoke the test driver. 2010-10-25 21:38:35 +00:00