Skip to content

Commit d511b0e

Browse files
felipepiovezanmedismailben
authored andcommitted
Fix StackIDTest compilation issue
Commit 9c8e716 updated some APIs that are used by this downstream-only test. (cherry picked from commit 5d30e9c)
1 parent b3114e3 commit d511b0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/unittests/StackID/StackIDTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ enum OnStack { Yes, No };
6868
/// Helper class to enable testing StackID::IsYounger.
6969
struct MockStackID : StackID {
7070
MockStackID(addr_t cfa, OnStack on_stack) : StackID() {
71-
SetPC(0);
72-
SetCFA(cfa);
71+
SetPC(0, nullptr);
72+
SetCFA(cfa, nullptr);
7373
m_cfa_on_stack = on_stack == OnStack::Yes ? LazyBool::eLazyBoolYes
7474
: LazyBool::eLazyBoolNo;
7575
}

0 commit comments

Comments
 (0)