[llvm] [BOLT] Preserve Offset annotation in SCTC (PR #91693)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 11:10:56 PDT 2024


================
@@ -3,12 +3,15 @@
 RUN: %clang %cflags %S/Inputs/sctc_bug4.s -o %t
 RUN: llvm-bolt %t -o %t.null \
 RUN:   -funcs=test_func -print-sctc -sequential-disassembly 2>&1 | FileCheck %s
+RUN: llvm-bolt %t -o %t.null --enable-bat -funcs=test_func -print-sctc \
+RUN:   -sequential-disassembly 2>&1 | FileCheck %s --check-prefix=CHECK-BAT
----------------
maksfb wrote:

Can we add `--enable-bat` to the previous `RUN` command and check all attributes in a single `CHECK`? Please update the description of the test too.

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


More information about the llvm-commits mailing list