Skip to content

Commit 2d51acd

Browse files
committed
tests: assembly: cstring-merging: Disable GlobalMerge pass
The test relies on LLVM not merging all the globals into one and would currently otherwise fail on powerpc64le. Signed-off-by: Jens Reidel <[email protected]>
1 parent 8231065 commit 2d51acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/assembly/cstring-merging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// other architectures (including ARM and x86-64) use the prefix `.Lanon.`
33
//@ only-linux
44
//@ assembly-output: emit-asm
5-
//@ compile-flags: --crate-type=lib -Copt-level=3
5+
//@ compile-flags: --crate-type=lib -Copt-level=3 -Cllvm-args=-enable-global-merge=0
66
//@ edition: 2024
77

88
use std::ffi::CStr;

0 commit comments

Comments
 (0)