diff options
author | Nico Weber <thakis@chromium.org> | 2022-11-18 11:33:23 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2022-11-18 12:08:33 -0500 |
commit | 59b9673b4570a131525384296e133b0122c1b286 (patch) | |
tree | fb3e3b0c293d52d02eeeff536d224e0b5ca09d2c /bolt/test | |
parent | 187729ce9fdee6ac47aeab2d1860d538f3835776 (diff) | |
download | llvm-59b9673b4570a131525384296e133b0122c1b286.zip llvm-59b9673b4570a131525384296e133b0122c1b286.tar.gz llvm-59b9673b4570a131525384296e133b0122c1b286.tar.bz2 |
[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
Diffstat (limited to 'bolt/test')
-rw-r--r-- | bolt/test/X86/end-symbol.test | 2 |
1 files changed, 1 insertions, 1 deletions
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 |