about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-05 18:58:53 +0200
committerGitHub <noreply@github.com>2024-09-05 18:58:53 +0200
commitb89ee99d573ef1493933214e76d5a1e199f5d64c (patch)
treeb830c9b22107a47b41a6d536a76a0918dc61e4d7 /compiler/rustc_codegen_llvm/src/errors.rs
parenteb33b43bab08223fa6b46abacc1e95e859fe375d (diff)
parent27f92b6c10ecb0385f22409430b64d13c02dd7a4 (diff)
downloadrust-b89ee99d573ef1493933214e76d5a1e199f5d64c.tar.gz
rust-b89ee99d573ef1493933214e76d5a1e199f5d64c.zip
Rollup merge of #128820 - LYF1999:yf/dev, r=nikic
fix: get llvm type of global val

using `LLVMTypeOf` on a global var always return ptr. so create a new function to access the value type of a global
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions