Jamie Cunliffe
fc52b47e80
va_args implementation for AAPCS.
...
Implement the va args in codegen for AAPCS, this will be used as the
default va_args implementation for AArch64 rather than the va_args
llvm-ir as it currently is.
Copyright (c) 2020, Arm Limited.
2020-06-30 09:58:00 +01:00
Mazdak Farrokhzad
124144704f
nix rustc_target::abi::* reexport in ty::layout
2020-04-02 13:40:43 +02:00
Mazdak Farrokhzad
1ccb0b4a02
rustc -> rustc_middle part 3 (rustfmt)
2020-03-30 07:19:55 +02:00
Mazdak Farrokhzad
0cb9e36090
rustc -> rustc_middle part 2
2020-03-30 07:16:56 +02:00
Matthias Krüger
df716b0e37
use conditions directly
2020-03-03 03:46:45 +01:00
Mark Rousskov
a06baa56b9
Format the world
2019-12-22 17:42:47 -05:00
Andrei Homescu
b9ea653aee
Expose VaListImpl
as the Rust equivalent of __va_list_tag
and implement Clone for it.
2019-06-17 16:04:49 -07:00
varkor
7f0f0e31ec
Remove double trailing newlines
2019-04-22 16:57:01 +01:00
James Duley
8485f58abf
Fix AArch64 typo in comments
2019-03-19 17:07:09 +00:00
Dan Robertson
58147d486b
Support defining C compatible variadic functions
...
Add support for defining C compatible variadic functions in unsafe rust
with extern "C".
2019-02-27 10:21:35 -05:00
Taiki Endo
1b7ca961d9
librustc_codegen_llvm => 2018
2019-02-18 03:58:58 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Dan Robertson
3dfd8f7a64
codegen: Fix va_list - aaarch64 iOS/Windows
...
According to the Apple developer docs:
> The type va_list is an alias for char * rather than for the struct
> type specified in the generic PCS.
The current implementation uses the generic Aarch64 structure for VaList
for Aarch64 iOS.
Windows always uses the char * variant of the va_list.
2018-12-07 22:54:56 +00:00
Dan Robertson
08140878fe
libcore: Add va_list lang item and intrinsics
...
- Add the llvm intrinsics used to manipulate a va_list.
- Add the va_list lang item in order to allow implementing
VaList in libcore.
2018-11-26 22:56:19 +00:00