[PATCH] D138986: [AIX][BigArchive] Treat the archive is empty if the first child member offset is zero
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 10:15:36 PST 2022
hctim added a comment.
Looks like this broke the ASan buildbot: https://lab.llvm.org/buildbot/#/builders/5/builds/30103
-- Testing: 70627 tests, 80 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60..
FAIL: LLVM :: Object/archive-big-malformed-first-member.test (50724 of 70627)
******************** TEST 'LLVM :: Object/archive-big-malformed-first-member.test' FAILED ********************
Script:
--
: 'RUN: at line 2'; echo "<bigaf>" > /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan/test/Object/Output/archive-big-malformed-first-member.test.tmp.a
: 'RUN: at line 3'; echo -n "0 0 0 128 0 0 " >> /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan/test/Object/Output/archive-big-malformed-first-member.test.tmp.a
: 'RUN: at line 4'; not /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan/bin/llvm-ar tv /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan/test/Object/Output/archive-big-malformed-first-member.test.tmp.a 2>&1 | grep 'truncated or malformed archive'
--
Exit Code: 1
I'm guessing that the `2>&1 | grep` in the test runline is supporessing an ASan report.
You can reproduce the sanitizer buildbots using our bot scripts here <https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild>, but this error looks reasonable easy to reproduce with a cmake containing `-DLLVM_USE_SANITIZER=Address`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138986/new/
https://reviews.llvm.org/D138986
More information about the llvm-commits
mailing list