HomePhabricator

Change the looping stack detection code

Authored by tberghammer on Sep 9 2015, 3:26 AM.

Description

Change the looping stack detection code

In some special case (e.g. signal handlers, hand written assembly) it is
valid to have 2 stack frame with the same CFA value. This CL change the
looping stack detection code to report a loop only if at least 3
consecutive frames have the same CFA.

Differential revision: http://reviews.llvm.org/D12699

llvm-svn: 247133

Details

Committed
tberghammerSep 9 2015, 3:26 AM
Differential Revision
D12699: Change the looping stack detection code
Parents
rGeb882fc1f8e7: Add basic fission support to SymbolFileDWARF
Branches
Unknown
Tags
Unknown