Wang, Phoebe via llvm-dev
2021-Dec-24 09:38 UTC
[llvm-dev] How to precisely reproduce the buildbot fail in local?
Hi Yuanfang, Great point!! I still haven't gotten the assertion, but with thoroughly debug, I believe it is the root cause. Thanks for your help! Thanks Phoebe -----Original Message----- From: Yuanfang.Chen at sony.com <Yuanfang.Chen at sony.com> Sent: Friday, December 24, 2021 11:53 AM To: Wang, Phoebe <phoebe.wang at intel.com> Subject: Re: How to precisely reproduce the buildbot fail in local? Sorry, I spoke too soon. Is "isMem()" needed in `isMemPlaceholder`? ________________________________________ From: Wang, Phoebe <phoebe.wang at intel.com> Sent: Thursday, December 23, 2021 6:51 PM To: Chen, Yuanfang Subject: RE: How to precisely reproduce the buildbot fail in local? Thanks Yuanfang. Assertion was enabled with "-DLLVM_ENABLE_ASSERTIONS=True" I also tried with debug type with no luck :( Thanks Phoebe -----Original Message----- From: Yuanfang.Chen at sony.com <Yuanfang.Chen at sony.com> Sent: Friday, December 24, 2021 10:48 AM To: Wang, Phoebe <phoebe.wang at intel.com> Subject: Re: How to precisely reproduce the buildbot fail in local? Enable assertion to see it? ________________________________________ From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Wang, Phoebe via llvm-dev <llvm-dev at lists.llvm.org> Sent: Thursday, December 23, 2021 6:28 AM To: llvm-dev at lists.llvm.org Subject: [llvm-dev] How to precisely reproduce the buildbot fail in local? Hi, I have a patch that caused several buildbot fails in a lit test. The test passed with my local setup. Surprisingly, it passed even I used the same commands with the bot. Here is one of the failed bot: https://urldefense.com/v3/__https://lab.llvm.org/buildbot*builders/110/builds/8880__;Iw!!JmoZiZGBv3RvKRSx!umeOkYKONJu8vyE4GXdjm3zdjzRr9nRGily-_lzpJ5LYDOeoEXd_Y-sdAwV-ISbFdA$ <https://urldefense.com/v3/__https://lab.llvm.org/buildbot*builders/110/builds/8880__;Iw!!JmoZiZGBv3RvKRSx!r6IHXSkbE6DnacmQoXRLiZs50WtTV2s18KqwxUpesCTMKnHmSiDJ2ohDfHpzs5Uj0g$> Here are steps I tried (used the identical command copy + paste from the bot): $ cmake -G Ninja ../llvm/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=True '-DLLVM_LIT_ARGS='"'"'-v'"'"'' -DCMAKE_INSTALL_PREFIX=../stage1.install -DLLVM_ENABLE_ASSERTIONS=ON '-DCMAKE_C_FLAGS='"'"'-march=broadwell'"'"'' '-DCMAKE_CXX_FLAGS='"'"'-march=broadwell'"'"'' '-DLLVM_TARGETS_TO_BUILD='"'"'X86'"'"'' '-DLLVM_ENABLE_PROJECTS=llvm;clang' $ ninja check-all Any idea how can I reproduce it locally? Thanks Phoebe