diff options
author | Pavel Labath <pavel@labath.sk> | 2019-05-10 06:57:25 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-05-10 06:57:25 +0000 |
commit | 21929d49d5375fbf937f66a69c001ccd2212cff2 (patch) | |
tree | 59f6940249571569e4ce9954af68859944b2805a | |
parent | c5f2544cc4b8f8957ec5730e18abe9a6c858f2cf (diff) | |
download | bcm5719-llvm-21929d49d5375fbf937f66a69c001ccd2212cff2.tar.gz bcm5719-llvm-21929d49d5375fbf937f66a69c001ccd2212cff2.zip |
Revert "Disable the step over skipping calls feature since buildbots are not happy."
While this fixed the windows bot failures, it also broke all other bots.
Upon closer inspection, it turns out that the windows bots were "broken"
because two tests were unexpectedly passing -- i.e., the original patch
(r360375) actually improved our stepping support on windows.
So instead, I remove the relevant XFAILs.
This reverts commit r360397.
llvm-svn: 360407
3 files changed, 2 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py index 1698c0d0c35..aa0e0a7a681 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py @@ -17,7 +17,6 @@ class CmdPythonTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True - @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343") def test(self): self.build() self.pycmd_tests() diff --git a/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py index 3e2b9a74087..d470d47b60b 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py @@ -52,7 +52,6 @@ class ThreadAPITestCase(TestBase): self.step_out_of_malloc_into_function_b(self.exe_name) @add_test_categories(['pyapi']) - @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr32343') def test_step_over_3_times(self): """Test Python SBThread.StepOver() API.""" # We build a different executable than the default build() does. diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp index b1ec003b33a..af7cf82d470 100644 --- a/lldb/source/Core/Disassembler.cpp +++ b/lldb/source/Core/Disassembler.cpp @@ -1095,8 +1095,8 @@ InstructionList::GetIndexOfNextBranchInstruction(uint32_t start, size_t i; for (i = start; i < num_instructions; i++) { if (m_instructions[i]->DoesBranch()) { -// if (ignore_calls && m_instructions[i]->IsCall()) -// continue; + if (ignore_calls && m_instructions[i]->IsCall()) + continue; next_branch = i; break; } |