class StepOverThreadControllerTest_Inline_Test
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc
Tests "step over" stepping from before an inline function to the call of the inline function.
This is tricky because that call is actually the first instruction of the inline function so
needs special handling. The code being tested would look like this:
void Top() {
foo();
> NonInlinedFunction(TopInlineFunction(), SecondInlineFunction());
bar();
}
Since we're testing "step over", the location after the step should be on the next line:
void Top() {
foo();
NonInlinedFunction(TopInlineFunction(), SecondInlineFunction());
> bar();
}
To do this, it steps into and out of TopInlineFunction(), then into and out of
SecondInlineFunction(), then into and out of NonInlinedFunction().
Code layout:
+-----------------------------------------------------+
| Top() |
|
() call> |
| +------------------------------------------+ |
| | Inlined code for TopInlineFunction() | |
<
- (1)
| | | |
<
- (2)
| +------------------------------------------+ |
| | Inlined code for SecondInlineFunction() | |
<
- (3)
| | | |
| +------------------------------------------+ |
|
() call> |
<
- (4)
|
() call> |
<
- (5)
| |
+-----------------------------------------------------+
Public Methods
void StepOverThreadControllerTest_Inline_Test ()
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc
void StepOverThreadControllerTest_Inline_Test (const StepOverThreadControllerTest_Inline_Test & )
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc
void StepOverThreadControllerTest_Inline_Test (StepOverThreadControllerTest_Inline_Test && )
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc
StepOverThreadControllerTest_Inline_Test & operator= (const StepOverThreadControllerTest_Inline_Test & )
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc
StepOverThreadControllerTest_Inline_Test & operator= (StepOverThreadControllerTest_Inline_Test && )
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc
void ~StepOverThreadControllerTest_Inline_Test ()
Defined at line 67 of file ../../src/developer/debug/zxdb/client/step_over_thread_controller_unittest.cc