about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorHans Kratz <hans@appfour.com>2021-08-05 22:40:32 +0000
committerHans Kratz <hans@appfour.com>2021-08-05 22:40:32 +0000
commit89a369ad2e367a473385f1363896e03e1e390718 (patch)
treed032925540dcfbb0ff891007e28c213ef1dd184a /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent4a4e9e3cf81e8c85880d8da521ab16f253c93392 (diff)
downloadrust-89a369ad2e367a473385f1363896e03e1e390718.tar.gz
rust-89a369ad2e367a473385f1363896e03e1e390718.zip
Replace hard-coded field indexes with lookup on aarch64 non-macos.
The indexes into the VaListImpl struct used on aarch64 ABI (not macos/ios) are hard-coded which is brittle so we replace them with the usual lookup.

The varargs ffi is tested in ui/abi/variadic-ffi.rs on aarch64 Linux.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions