class StackTest_InlineExpansion_Test
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc
Tests that stack frames inside inline functions are expanded so that the inline functions have
their own "inline" frames.
This tests a bottom function calling an inline function which calls a top function. The tricky
part is the IP of the bottom frame is actually in a different inline function (the "ambiguous"
one) because the address in the bottom frame is immediately following the TopFunc() call and this
happens to fall in range of an inlined function. This should be omitted from the stack.
void TopFunc() {
... //
<
- top_line
}
// Not actually on the stack but looks like it.
inline void bottom_ambig_inline_func() {
... //
<
- ambig_inline_line
}
inline void bottom_inline_func() {
...
TopFunc(); //
<
- top_call_line
bottom_ambig_inline_func(); //
<
- ambig_inline_call_line
}
void bottom() {
...
bottom_inline_func(); //
<
- bottom_call_line
...
}
Public Methods
void StackTest_InlineExpansion_Test ()
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc
void StackTest_InlineExpansion_Test (const StackTest_InlineExpansion_Test & )
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc
void StackTest_InlineExpansion_Test (StackTest_InlineExpansion_Test && )
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc
StackTest_InlineExpansion_Test & operator= (const StackTest_InlineExpansion_Test & )
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc
StackTest_InlineExpansion_Test & operator= (StackTest_InlineExpansion_Test && )
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc
void ~StackTest_InlineExpansion_Test ()
Defined at line 186 of file ../../src/developer/debug/zxdb/client/stack_unittest.cc