[PATCH] D138305: [bolt] Make test/X86/end-symbol.test not use "tac"

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 09:09:01 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG59b9673b4570: [bolt] Make test/X86/end-symbol.test not use "tac" (authored by thakis).
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138305/new/

https://reviews.llvm.org/D138305

Files:
  bolt/test/X86/end-symbol.test


Index: bolt/test/X86/end-symbol.test
===================================================================
--- bolt/test/X86/end-symbol.test
+++ bolt/test/X86/end-symbol.test
@@ -1,6 +1,6 @@
 # RUN: yaml2obj %p/Inputs/plt-sec.yaml &> %t.exe
 # RUN: llvm-bolt %t.exe -o %t.out
-# RUN: (llvm-readelf --program-headers %t.out | tac ; llvm-nm %t.out) \
+# RUN: (llvm-readelf --program-headers %t.out | grep LOAD | tail -n 1 ; llvm-nm %t.out) \
 # RUN:   | FileCheck %s
 
 ## Check that llvm-bolt correctly updates _end symbol to match the end of the


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138305.476507.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221118/b71dbbea/attachment.bin>


More information about the llvm-commits mailing list