diff --git a/lldb/include/lldb/Symbol/UnwindPlan.h b/lldb/include/lldb/Symbol/UnwindPlan.h index a1d00f2d2c0cd..e1567c7357d0b 100644 --- a/lldb/include/lldb/Symbol/UnwindPlan.h +++ b/lldb/include/lldb/Symbol/UnwindPlan.h @@ -370,6 +370,13 @@ class UnwindPlan { bool SetRegisterLocationToSame(uint32_t reg_num, bool must_replace); + /// This method does not make a copy of the \a opcodes memory, it is + /// assumed to have the same lifetime as the Module this UnwindPlan will + /// be registered in. + bool SetRegisterLocationToIsDWARFExpression(uint32_t reg_num, + const uint8_t *opcodes, + uint32_t len, bool can_replace); + bool SetRegisterLocationToIsConstant(uint32_t reg_num, uint64_t constant, bool can_replace);