[lldb/Test] use GetLoadAddress from scripted thread plan
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 30 May 2020 06:01:09 +0000 (23:01 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 30 May 2020 06:04:08 +0000 (23:04 -0700)
commit2388a096e7865c043e83ece4e26654bd3d1a20d5
tree0cb4a05d423c8fd647aef474f4d41086e7addb50
parent20c9bb44ec1a4a795215ff6964d264219f9b05f2
[lldb/Test] use GetLoadAddress from scripted thread plan

Commit 0800529fe605 adds a runtime error which triggers when using
SBAddress properties that use the current process/target from a
non-interactive session. TestThreadPlanCommands.py was doing exactly
this and this patch fixes that by use GetLoadAddress instead.
lldb/test/API/functionalities/thread_plan/wrap_step_over.py