diff options
| author | David Mo <david.mo1@huawei.com> | 2023-09-01 10:53:50 -0700 |
|---|---|---|
| committer | David Mo <david.mo1@huawei.com> | 2023-09-01 14:08:31 -0700 |
| commit | 4160337c8553e1083b12632eed7a94e51d57ea91 (patch) | |
| tree | 072d2e1d70c09acdfe70fef15442821074ebc12d /compiler/rustc_llvm/llvm-wrapper | |
| parent | 59a8294849358a878a72358aa6d5fe5b9d312867 (diff) | |
| download | rust-4160337c8553e1083b12632eed7a94e51d57ea91.tar.gz rust-4160337c8553e1083b12632eed7a94e51d57ea91.zip | |
Tests crash from inappropriate use of common linkage
Normally, variables with common linkage must be zero-initialized. In Rust, common linkage variables that are not zero-initialized causes a crash in the compiler backend. This commit adds a test case to confirm this behavior, which will inform us if it changes in the future.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
