aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-03-06 10:47:33 +0100
committerPavel Labath <pavel@labath.sk>2020-03-06 11:05:07 +0100
commitaa73ee052fffb0d06c6b7d8caf0271652c07a80d (patch)
treec76bec8a805f123cb3efce99938a397bd4ecc93a /lldb/packages/Python/lldbsuite/test/lldbtest.py
parenteaddbc238d5fcca19432939223c87e4011b66546 (diff)
downloadllvm-aa73ee052fffb0d06c6b7d8caf0271652c07a80d.zip
llvm-aa73ee052fffb0d06c6b7d8caf0271652c07a80d.tar.gz
llvm-aa73ee052fffb0d06c6b7d8caf0271652c07a80d.tar.bz2
[lldb/test] Use inline assembly for instruction counting tests
We have a test which checks that instruction-step really steps one instruction, but the way it checks this makes it very susceptible to codegen changes. This rewrites the test inferior to use inline assembly, which guarantees a known sequence of instructions that the test can check. This does mean we have to write separate assembly for each architecture, but that is no better than having architecture-specific assertions, which the test was already starting to accumulate.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions