[llvm] [llvm-objdump][MachO] Update check in flaky test that depends on directory path (PR #150674)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 01:07:45 PDT 2025
================
@@ -1,30 +1,30 @@
## This test verifies that llvm-objdump correctly prints function starts data.
-RUN: llvm-objdump --macho --function-starts %p/Inputs/hello.exe.macho-i386 | FileCheck %s --check-prefix=32-BIT --implicit-check-not=_main
-RUN: llvm-objdump --macho --function-starts=addrs %p/Inputs/hello.exe.macho-i386 | FileCheck %s --check-prefix=32-BIT --implicit-check-not=_main
+RUN: llvm-objdump --macho --function-starts - < %p/Inputs/hello.exe.macho-i386 | FileCheck %s --check-prefix=32-BIT --implicit-check-not=_main
----------------
jh7370 wrote:
It might be worth a comment saying why the jumping through hoops. Otherwise, a future well-meaning developer might try to simplify things and break it again.
https://github.com/llvm/llvm-project/pull/150674
More information about the llvm-commits
mailing list