about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-27 15:28:36 -0600
committerGitHub <noreply@github.com>2019-11-27 15:28:36 -0600
commit8a7a9f2e804aecb0464d56a941730969e3a07766 (patch)
tree52177197933a3034225de789f0e55bc4205c9786 /src/test/debuginfo/enum-thinlto.rs
parent5139b538367eb094d48fd150cd2d719a2885b56c (diff)
parent32168a3df7f88112f7a6c0d4595815dd952880fd (diff)
downloadrust-8a7a9f2e804aecb0464d56a941730969e3a07766.tar.gz
rust-8a7a9f2e804aecb0464d56a941730969e3a07766.zip
Rollup merge of #66534 - immunant:multiple_global_decls, r=eddyb
Allow global references via ForeignItem and Item for the same symbol name during LLVM codegen

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