rust/tests/assembly-llvm
许杰友 Jieyou Xu (Joe) df01a87de2
Rollup merge of #140740 - ojeda:indirect-branch-cs-prefix, r=davidtwco
Add `-Zindirect-branch-cs-prefix`

Cc: ``@azhogin`` ``@Darksonn``

This goes on top of https://github.com/rust-lang/rust/pull/135927, i.e. please skip the first commit here. Please feel free to inherit it there.

In fact, I am not sure if there is any use case for the flag without `-Zretpoline*`. GCC and Clang allow it, though.

There is a `FIXME` for two `ignore`s in the test that I took from another test I did in the past -- they may be needed or not here since I didn't run the full CI. Either way, it is not critical.

Tracking issue: https://github.com/rust-lang/rust/issues/116852.
MCP: https://github.com/rust-lang/compiler-team/issues/868.
2025-08-19 19:42:01 +08:00
..
asm Rollup merge of #144761 - tgross35:cfg-outline-atomics, r=davidtwco 2025-08-13 18:42:58 +02:00
auxiliary Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
compiletest-self-test Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
libs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
naked-functions Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-kernel-abi Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
sanitizer/kcfi Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
stack-protector Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
targets Rollup merge of #144962 - Gelbpunkt:aarch64_be-unknown-none-softfloat, r=davidtwco 2025-08-13 18:43:00 +02:00
aarch64-pointer-auth.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
aarch64-xray.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
align_offset.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
breakpoint.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
closure-inherit-target-feature.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
cmse.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
cstring-merging.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
dwarf-mixed-versions-lto.rs Fix tests/assembly-llvm/dwarf-mixed-versions-lto.rs test failure on riscv64 2025-07-23 11:14:07 +00:00
dwarf4.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
dwarf5.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
emit-intel-att-syntax.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
is_aligned.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
issue-83585-small-pod-struct-equality.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
manual-eq-efficient.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
niche-prefer-zero.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-arch-default.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-arch-emit-asm.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-arch-link-arg.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-arch-target-cpu.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-atomics.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-c-abi-arg-v7.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-c-abi-ret-v7.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-internalizing.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-linking-binary.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-linking-cdylib.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
nvptx-safe-naming.rs Fix nvptx-safe-naming.rs test on LLVM 21 2025-07-29 12:15:36 +02:00
panic-no-unwind-no-uwtable.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
panic-unwind-no-uwtable.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
pic-relocation-model.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
pie-relocation-model.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
powerpc64-struct-abi.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
regparm-module-flag.rs Set NumRegisterParameters LLVM module flag to N when -Zregparm=N is 2025-08-13 17:37:30 +02:00
riscv-float-struct-abi.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
riscv-soft-abi-with-float-features.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
rust-abi-arg-attr.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
s390x-backchain-toggle.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
s390x-vector-abi.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-bitmask.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-intrinsic-gather.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-intrinsic-mask-load.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-intrinsic-mask-reduce.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-intrinsic-mask-store.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-intrinsic-scatter.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
simd-intrinsic-select.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
slice-is_ascii.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
small_data_threshold.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
sparc-struct-abi.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
stack-probes.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
static-relocation-model.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
strict_provenance.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
target-feature-multiple.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
wasm_exceptions.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86-return-float.rs Relax check lines in x86-return-float.rs 2025-07-29 14:08:19 +02:00
x86_64-array-pair-load-store-merge.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-bigint-helpers.rs Stop using uadd.with.overflow 2025-08-08 21:59:28 -07:00
x86_64-cmp.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-floating-point-clamp.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-fortanix-unknown-sgx-lvi-generic-load.rs use minicore for fortanix assembly tests 2025-07-28 13:34:25 +02:00
x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs use minicore for fortanix assembly tests 2025-07-28 13:34:25 +02:00
x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs use minicore for fortanix assembly tests 2025-07-28 13:34:25 +02:00
x86_64-function-return.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-indirect-branch-cs-prefix.rs Add -Zindirect-branch-cs-prefix option 2025-08-17 16:51:42 +02:00
x86_64-no-jump-tables.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-sse_crc.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-typed-swap.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-windows-float-abi.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-windows-i128-abi.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
x86_64-xray.rs Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00