From: Nico Weber Date: Fri, 18 Nov 2022 16:33:23 +0000 (-0500) Subject: [bolt] Make test/X86/end-symbol.test not use "tac" X-Git-Tag: upstream/17.0.6~27182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59b9673b4570a131525384296e133b0122c1b286;p=platform%2Fupstream%2Fllvm.git [bolt] Make test/X86/end-symbol.test not use "tac" "tac" doesn't exist on macOS, so this makes the test pass there. Differential Revision: https://reviews.llvm.org/D138305 --- diff --git a/bolt/test/X86/end-symbol.test b/bolt/test/X86/end-symbol.test index 98018c3..18c11a8 100644 --- a/bolt/test/X86/end-symbol.test +++ b/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