[llvm] [AArch64][BOLT] Ensure tentative code layout for cold BBs runs. (PR #96609)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 03:08:11 PDT 2024


================
@@ -0,0 +1,27 @@
+// This test checks that tentative code layout for cold blocks always runs.
+// It commonly happens when using lite mode with split functions.
+
+// REQUIRES: system-linux
+
+// RUN: %clang %cflags -o %t %s
+// RUN: %clang %s %cflags -Wl,-q -o %t
+// RUN: link_fdata --no-lbr %s %t %t.fdata
+// RUN: llvm-bolt %t -o %t.bolt --data %t.fdata -split-functions  \
+// RUN: -debug 2>&1 | FileCheck %s
----------------
yota9 wrote:

And add 2 spaces after : 

https://github.com/llvm/llvm-project/pull/96609


More information about the llvm-commits mailing list