diff options
| author | jumbatm <30644300+jumbatm@users.noreply.github.com> | 2020-08-15 15:05:18 +1000 |
|---|---|---|
| committer | jumbatm <30644300+jumbatm@users.noreply.github.com> | 2020-08-18 02:01:04 +1000 |
| commit | db753137a14b04886567a1f20768b96feba05594 (patch) | |
| tree | 03701c5624d6963e1e6539e017cb5eb55e5d9902 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b0eb55a092506aa4cfe34969c56adfeca9616750 (diff) | |
| download | rust-db753137a14b04886567a1f20768b96feba05594.tar.gz rust-db753137a14b04886567a1f20768b96feba05594.zip | |
Fix stack overflow for recursive types.
Adds a seen set to structurally_same_type to avoid recursing indefinitely when a reference or pointer member introduces a cycle in the visited types.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
