Skip to content

Conversation

anchuraj
Copy link
Contributor

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.

@llvmbot llvmbot added flang:driver flang Flang issues not falling into any other category labels Sep 18, 2025
@llvmbot
Copy link
Member

llvmbot commented Sep 18, 2025

@llvm/pr-subscribers-flang-driver

Author: Anchu Rajendran S (anchuraj)

Changes

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 --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: }

@anchuraj anchuraj changed the title Fixing upstream failure by removing a test Fixing CI failure by removing a test Sep 18, 2025
@anchuraj anchuraj closed this Sep 18, 2025
@anchuraj
Copy link
Contributor Author

Fixed in #159607 without removing the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flang:driver flang Flang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants