]> git.lizzy.rs Git - rust.git/commit
Fix va_args calling on aarch64 non-macos/ios.
authorHans Kratz <hans@appfour.com>
Tue, 3 Aug 2021 05:11:17 +0000 (05:11 +0000)
committerHans Kratz <hans@appfour.com>
Wed, 4 Aug 2021 21:51:19 +0000 (23:51 +0200)
commit7dbc568325c929eeefc261532b034f904cf4d5b4
treeb17a4345e59069bf48b7d5df40f313367db5d3d3
parent4a8202c4a68ec6161dbc31dcb5b0ec51d84c9d87
Fix va_args calling on aarch64 non-macos/ios.

emit_aapcs_va_arg() emits hardcoded field indexes to access the
aarch64-specific `VaListImpl` struct. Due to the removed padding
those indexes have changed.
compiler/rustc_codegen_llvm/src/va_arg.rs