about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorantoyo <antoyo@users.noreply.github.com>2021-09-26 12:20:02 -0400
committerGitHub <noreply@github.com>2021-09-26 12:20:02 -0400
commit64c561dc2253463659a8ae93b3d265dda45c6ee9 (patch)
tree6cb8b4c4a56a1384f3ae15115204d2711692a5e3 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent4e7e822f39fca4ccf146a71dbb1098b76ecea1af (diff)
downloadrust-64c561dc2253463659a8ae93b3d265dda45c6ee9.tar.gz
rust-64c561dc2253463659a8ae93b3d265dda45c6ee9.zip
Fix global initialization (#91)
* Make define_global() return a RValue directly
* Return LValue in functions declaring a global variable
* Remove useless cast
* Fix bytes_in_context to use an array rvalue
* Remove global_names which is unused
* Make const_struct create a constant struct
* Correctly initialize global in static_addr_of_mut
* Fix global variable initialization
* Remove workaround for ARGV
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions