From: zhijian Date: Fri, 1 Apr 2022 18:10:22 +0000 (-0400) Subject: Addressed post-commit comment https://reviews.llvm.org/D122746#inline-1175831 X-Git-Tag: upstream/15.0.7~11708 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b36be2f77f7e7cc5af671af3ab99be07f6955718;p=platform%2Fupstream%2Fllvm.git Addressed post-commit comment https://reviews.llvm.org/D122746#inline-1175831 --- diff --git a/llvm/test/tools/llvm-ar/default-xcoff.test b/llvm/test/tools/llvm-ar/default-xcoff.test index 25c0a4a..bfffc3e 100644 --- a/llvm/test/tools/llvm-ar/default-xcoff.test +++ b/llvm/test/tools/llvm-ar/default-xcoff.test @@ -7,4 +7,4 @@ ; RUN: echo "test big archive" > %t.txt ; RUN: not llvm-ar cr %t.ar %t.txt 2>&1 | FileCheck %s -; CHECK: unsupported big AIX write operation +; CHECK: big archive writer operation on AIX not yet supported diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 3d4964f9..0d87e25e 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -945,7 +945,7 @@ static void performWriteOperation(ArchiveOperation Operation, Kind = !NewMembers.empty() ? getKindFromMember(NewMembers.front()) : getDefaultForHost(); if (Kind == object::Archive::K_AIXBIG) - fail("unsupported big AIX write operation"); + fail("big archive writer operation on AIX not yet supported"); break; case GNU: Kind = object::Archive::K_GNU;