[llvm] [ObjectSizeOffsetVisitor] Add a max recursion depth (PR #67479)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 13:24:34 PDT 2023
https://github.com/nikic commented:
There is also recursion (though less likely) when visiting loads. I think it would be more robust (and a bit simpler) to instead do this depth inc/dec around the visit() call in https://github.com/llvm/llvm-project/blob/c55e5d4b18a34e9698314426d6e5077ee7e15025/llvm/lib/Analysis/MemoryBuiltins.cpp#L739, so that it covers everything.
https://github.com/llvm/llvm-project/pull/67479
More information about the llvm-commits
mailing list