diff options
| author | Stephen Crane <sjc@immunant.com> | 2019-11-18 15:22:55 -0800 |
|---|---|---|
| committer | Stephen Crane <sjc@immunant.com> | 2019-11-18 16:27:59 -0800 |
| commit | 32168a3df7f88112f7a6c0d4595815dd952880fd (patch) | |
| tree | a05e4322dce33887013331079bf6ce311808424b /src/test/debuginfo/enum-thinlto.rs | |
| parent | a0d40f8bdfcc3c28355467973f97fd4c45ac5876 (diff) | |
| download | rust-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
