[flang-commits] [flang] Fixing upstream failure by removing a test (PR #159604)

Anchu Rajendran S via flang-commits flang-commits at lists.llvm.org
Thu Sep 18 10:01:52 PDT 2025


https://github.com/anchuraj created https://github.com/llvm/llvm-project/pull/159604

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.

>From d3c30cfc77f11655d741d7e43777472c64ade417 Mon Sep 17 00:00:00 2001
From: Anchu Rajendran <asudhaku at amd.com>
Date: Thu, 18 Sep 2025 11:59:46 -0500
Subject: [PATCH] Fixing upstream failure by removing a test

---
 flang/test/Driver/lto-fatlto.f90 | 2 --
 1 file changed, 2 deletions(-)

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



More information about the flang-commits mailing list