Skip to content

Commit

Permalink
debuginfo: Correctly handle indirectly recursive types.
Browse files Browse the repository at this point in the history
So far handling some indirectly recursive types, such as pointer types, has relied on LLVM metadata uniquing in a very implicit way. This could cause some inconsistencies in the debuginfo, and sometimes to hard to trace LLVM assertions.
With this commit unique type IDs and the TypeMap are used to explicitly make sure that no inconsistencies exist, and, if in the future some regression re-introduces one, give a better error message instead of the hard-to-interpret LLVM error.
  • Loading branch information
michaelwoerister authored and alexcrichton committed Jun 17, 2014
1 parent b5d9e94 commit 88e1576
Showing 1 changed file with 205 additions and 126 deletions.

0 comments on commit 88e1576

Please sign in to comment.