about summary refs log tree commit diff
path: root/src/test/codegen/repr-transparent.rs
AgeCommit message (Collapse)AuthorLines
2021-04-03Manually set dso_local when its valid to do soSimonas Kazlauskas-17/+17
This should have no real effect in most cases, as e.g. `hidden` visibility already implies `dso_local` (or at least LLVM IR does not preserve the `dso_local` setting if the item is already `hidden`), but it should fix `-Crelocation-model=static` and improve codegen in executables. Note that this PR does not exhaustively port the logic in [clang]. Only the obviously correct portion and what is necessary to fix a regression from LLVM 12 that relates to `-Crelocation_model=static`. Fixes #83335 [clang]: https://github.com/llvm/llvm-project/blob/3001d080c813da20b329303bf8f45451480e5905/clang/lib/CodeGen/CodeGenModule.cpp#L945-L1039
2021-01-13Update code to account for extern ABI requirementMark Rousskov-17/+17
2020-06-04test: codegen: skip tests inappropriate for riscv64Tom Eccles-0/+3
2020-01-20stabilize transparent_enumsMazdak Farrokhzad-1/+1
2019-09-13codegen: use "_N" (like for other locals) instead of "argN", for argument names.Eduard-Mihai Burtescu-17/+17
2019-06-10Implement RFC 2645 (transparent enums and unions)Michael Bradshaw-1/+42
Tracking issue: #60405
2018-12-25Remove licensesMark Rousskov-10/+0
2018-06-12Stabilize #[repr(transparent)]Simon Sapin-1/+1
Tracking issue FCP: https://github.com/rust-lang/rust/issues/43036#issuecomment-394094318 Reference PR: https://github.com/rust-lang-nursery/reference/pull/353
2018-02-08Fix oversized loads on x86_64 SysV FFI callsBjörn Steinbrink-51/+9
The x86_64 SysV ABI should use exact sizes for small structs passed in registers, i.e. a struct that occupies 3 bytes should use an i24, instead of the i32 it currently uses. Refs #45543
2018-01-16Implement repr(transparent)Robin Kruppe-0/+177