rust/tests/codegen/cffi
bors 29a56a3b1c Auto merge of #122053 - erikdesjardins:alloca, r=nikic
Stop using LLVM struct types for alloca

The alloca type has no semantic meaning, only the size (and alignment, but we specify it explicitly) matter. Using `[N x i8]` is a more direct way to specify that we want `N` bytes, and avoids relying on LLVM's struct layout. It is likely that a future LLVM version will change to an untyped alloca representation.

Split out from #121577.

r? `@ghost`
2024-04-24 03:00:44 +00:00
..
c-variadic-copy.rs
c-variadic-naked.rs do not add prolog for variadic naked functions 2024-04-12 15:29:39 +03:00
c-variadic-opt.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
c-variadic.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
ffi-const.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
ffi-out-of-bounds-loads.rs use [N x i8] for alloca types 2024-04-11 21:42:35 -04:00
ffi-pure.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00