The recursive DFS can stack overflow in pathological cases.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 9113 Build 9113: arc lint + arc unit
Event Timeline
Comment Actions
LGTM.
Out of curiosity: what kind of IR triggers stack overflow here? I'd suspect it would be have to a very large and nested loop.
include/llvm/Support/GenericDomTreeConstruction.h | ||
---|---|---|
437 | Nitpick: in other places in the file, stack are initialized like this: |
Nitpick: in other places in the file, stack are initialized like this:
SmallVector<Ptr, 8> Stack = {FirstElem};