[Lldb-commits] [PATCH] D12699: Change the looping stack detection code
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 9 03:27:13 PDT 2015
tberghammer added a comment.
In ABI conforming code we will never have even 2 consecutive frames with the same CFA for all ABI I know about.
In practice, 2 consecutive frame with the same CFA can happen (for hand written assembly and signal handling), but more then 2 is highly unlikely.
In theory, arbitrary number of frames can have the same CFA if the code sets up a different stack for itself (in a different location) what we don't track, but it is just a hypothetical case.
More information about the lldb-commits