summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/SyncDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-09-18 12:58:52 +0000
committerPavel Labath <pavel@labath.sk>2019-09-18 12:58:52 +0000
commitfc1fd6bf9fcfac412b10b4193805ec5de0e8df57 (patch)
tree459bb06845105b587daea61164b78ebf8c790f60 /llvm/lib/Analysis/SyncDependenceAnalysis.cpp
parent98c0dc39de24d85e3d7dca488babff952f35578c (diff)
downloadbcm5719-llvm-fc1fd6bf9fcfac412b10b4193805ec5de0e8df57.tar.gz
bcm5719-llvm-fc1fd6bf9fcfac412b10b4193805ec5de0e8df57.zip
Fix command-script-import.test on linux
The test was expecting the value of "lldb.frame" to be None, because it is cleared after each python interpreter session. However, this is not true in the very first session, because lldb.py sets these values to invalid objects (lldb.SBFrame(), etc.). I have not investigated why is it that this test passes on darwin, but my guess is that this is because we do extra work on darwin (loading the objc runtime, etc), which causes us to enter the python interpreter sooner. This patch changes lldb.py to also initialize these values to None, as that seems to make more sense. I also fixed some typos in the test while I was in there. llvm-svn: 372222
Diffstat (limited to 'llvm/lib/Analysis/SyncDependenceAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud