[flang-commits] [flang] Fixing upstream failure by removing a test (PR #159604)
via flang-commits
flang-commits at lists.llvm.org
Thu Sep 18 10:02:27 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-driver
Author: Anchu Rajendran S (anchuraj)
<details>
<summary>Changes</summary>
CI failure happened as it could not find `llvm-readelf`. Removing the test now, as the other tests inturn verify that there is an llvm.lto section by copying it to a bc and checking its contents.
---
Full diff: https://github.com/llvm/llvm-project/pull/159604.diff
1 Files Affected:
- (modified) flang/test/Driver/lto-fatlto.f90 (-2)
``````````diff
diff --git a/flang/test/Driver/lto-fatlto.f90 b/flang/test/Driver/lto-fatlto.f90
index c52d6e386ef0b..cb4c831a539c1 100644
--- a/flang/test/Driver/lto-fatlto.f90
+++ b/flang/test/Driver/lto-fatlto.f90
@@ -2,11 +2,9 @@
! checks fatlto objects: that valid bitcode is included in the object file generated.
! RUN: %flang -fc1 -triple x86_64-unknown-linux-gnu -flto -ffat-lto-objects -emit-obj %s -o %t.o
-! RUN: llvm-readelf -S %t.o | FileCheck %s --check-prefixes=ELF
! RUN: llvm-objcopy --dump-section=.llvm.lto=%t.bc %t.o
! RUN: llvm-dis %t.bc -o - | FileCheck %s --check-prefixes=DIS
-! ELF: .llvm.lto
! DIS: define void @_QQmain()
! DIS-NEXT: ret void
! DIS-NEXT: }
``````````
</details>
https://github.com/llvm/llvm-project/pull/159604
More information about the flang-commits
mailing list