about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorStephen Crane <sjc@immunant.com>2019-11-18 15:22:55 -0800
committerStephen Crane <sjc@immunant.com>2019-11-18 16:27:59 -0800
commit32168a3df7f88112f7a6c0d4595815dd952880fd (patch)
treea05e4322dce33887013331079bf6ce311808424b /src/test/debuginfo/enum-thinlto.rs
parenta0d40f8bdfcc3c28355467973f97fd4c45ac5876 (diff)
downloadrust-32168a3df7f88112f7a6c0d4595815dd952880fd.tar.gz
rust-32168a3df7f88112f7a6c0d4595815dd952880fd.zip
Allow different global references to the same name
Combining CGUs can result in code that references a static variable through both
an Item and a ForeignItem with the same name. We don't care that the global was
already created by a ForeignItem reference when we see the Item reference, as
long as the LLVM types of the ForeignItem and Item match.

Fixes #66464
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions