Because the recent change about ODR type uniquing in the context,
we can reach types defined in another module during IR linking.
This triggered some assertions in case we IR link without starting
from an empty module. To alleviate that, we can self-map metadata
defined in the destination module so that they won't be visited.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/ThinLTO/X86/crash_debuginfo.ll | ||
---|---|---|
7 ↗ | (On Diff #70108) | The "CHECK-NOT" fires when bar isn't imported (we get an undefined referenced to bar), this relies on the inliner. |