We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3114e3 commit d511b0eCopy full SHA for d511b0e
lldb/unittests/StackID/StackIDTest.cpp
@@ -68,8 +68,8 @@ enum OnStack { Yes, No };
68
/// Helper class to enable testing StackID::IsYounger.
69
struct MockStackID : StackID {
70
MockStackID(addr_t cfa, OnStack on_stack) : StackID() {
71
- SetPC(0);
72
- SetCFA(cfa);
+ SetPC(0, nullptr);
+ SetCFA(cfa, nullptr);
73
m_cfa_on_stack = on_stack == OnStack::Yes ? LazyBool::eLazyBoolYes
74
: LazyBool::eLazyBoolNo;
75
}
0 commit comments