[Lldb-commits] [lldb] [lldb] Clear cached unwind plans when adding symbols (PR #125839)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 7 02:39:43 PST 2025


================
@@ -3494,6 +3506,7 @@ class CommandObjectTargetModulesShowUnwind : public CommandObjectParsed {
                                      // parsing options
     std::string m_str; // Holds name lookup
     lldb::addr_t m_addr = LLDB_INVALID_ADDRESS; // Holds the address to lookup
+    bool m_cached = false;
----------------
labath wrote:

I may be biased because this is the second time that the command has lied to me (the first time being when the propeller thingy caused a huge unwind plan covering the whole file to be inserted into the cache), but I think this would be a better default. I'll flip the flag here. Thanks.

https://github.com/llvm/llvm-project/pull/125839


More information about the lldb-commits mailing list