Skip to content

Conversation

@bgergely0
Copy link
Contributor

@bgergely0 bgergely0 commented Sep 23, 2025

The test checked for no BOLT-WARNINGs without specifying the expected warning. This caused the test to fail on warnings unrelated to the test.

Added the BOLT-WARNING that was present before 8579db9.

The test checked for no BOLT-WARNINGs without specifying the expected
warning. This caused the test to fail on warning unrelated to the test.

Added the BOLT-WARNING that was present before 8579db9.
@llvmbot
Copy link
Member

llvmbot commented Sep 23, 2025

@llvm/pr-subscribers-bolt

Author: Gergely Bálint (bgergely0)

Changes

The test checked for no BOLT-WARNINGs without specifying the expected warning. This caused the test to fail on warning unrelated to the test.

Added the BOLT-WARNING that was present before 8579db9.


Full diff: https://github.com/llvm/llvm-project/pull/160263.diff

1 Files Affected:

  • (modified) bolt/test/AArch64/unmarked-data.test (+1-1)
diff --git a/bolt/test/AArch64/unmarked-data.test b/bolt/test/AArch64/unmarked-data.test
index 7a62994bb5c38..af6de11f3df60 100644
--- a/bolt/test/AArch64/unmarked-data.test
+++ b/bolt/test/AArch64/unmarked-data.test
@@ -2,7 +2,7 @@
 
 // RUN: yaml2obj %S/Inputs/unmarked-data.yaml -o %t.exe
 // RUN: llvm-bolt %t.exe -o %t.bolt --lite=0 --use-old-text=0 2>&1 | FileCheck %s
-// CHECK-NOT: BOLT-WARNING
+// CHECK-NOT: BOLT-WARNING: unable to disassemble instruction at offset
 // RUN: llvm-objdump -j .text -d --disassemble-symbols=first,second %t.bolt | FileCheck %s -check-prefix=CHECK-SYMBOL
 // CHECK-SYMBOL: <first>:
 // CHECK-SYMBOL: <second>:

Copy link
Contributor

@maksfb maksfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bgergely0 bgergely0 merged commit 360fc7b into llvm:main Sep 23, 2025
11 checks passed
bgergely0 added a commit to bgergely0/llvm-project that referenced this pull request Sep 30, 2025
Remove the workaround for the issue that was fixed in llvm#160263.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants