]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-make-fulldeps/pgo-branch-weights/Makefile
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / run-make-fulldeps / pgo-branch-weights / Makefile
index 0656346e95868487ea39788fd19ee2f5e57c7fe0..c60206a1f341c1b426b9f9156384f1097e713fb1 100644 (file)
@@ -1,24 +1,10 @@
 # needs-profiler-support
 # ignore-windows-gnu
-# ignore-aarch64
 
 # FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
 # properly. Since we only have GCC on the CI ignore the test for now.
 
--include ../tools.mk
-
-# This test makes sure that instrumented binaries record the right counts for
-# functions being called and branches being taken. We run an instrumented binary
-# with an argument that causes a know path through the program and then check
-# that the expected counts get added to the use-phase LLVM IR.
-
-# LLVM doesn't support instrumenting binaries that use SEH:
-# https://github.com/rust-lang/rust/issues/61002
-#
-# Things work fine with -Cpanic=abort though.
-ifdef IS_MSVC
-COMMON_FLAGS=-Cpanic=abort
-endif
+include ../tools.mk
 
 # For some very small programs GNU ld seems to not properly handle
 # instrumentation sections correctly. Neither Gold nor LLD have that problem.