zequanwu added a comment. In D104082#2835496 <https://reviews.llvm.org/D104082#2835496>, @fhahn wrote:
> In D104082#2835080 <https://reviews.llvm.org/D104082#2835080>, @zequanwu > wrote: > >> Hi, this caused compiler crash with error "Assertion >> `cast<DISubprogram>(Scope)->describes(&MF->getFunction())' failed." on iOS >> platforms. So, I reverted it. >> I'm working on a reduced repro. > > FYI this also caused a failure on GreenDragon, with `-verify-machineinstrs`: > https://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-aarch64-O0-g/9663/consoleFull#-134330334249ba4694-19c4-4d7e-bec5-911270d8a58c > > The failure should be re-producible by building the following C++ file from > llvm-test-suite: > > bin/clang++ -DNDEBUG -B > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > -Wno-unused-command-line-argument -mllvm -verify-machineinstrs -O0 -g > -arch arm64 -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk > -w -Werror=date-time -MD -MT > SingleSource/UnitTests/CMakeFiles/block-byref-cxxobj-test.dir/block-byref-cxxobj-test.cpp.o > -MF > SingleSource/UnitTests/CMakeFiles/block-byref-cxxobj-test.dir/block-byref-cxxobj-test.cpp.o.d > -o > SingleSource/UnitTests/CMakeFiles/block-byref-cxxobj-test.dir/block-byref-cxxobj-test.cpp.o > -c > /Users/buildslave/jenkins/workspace/test-suite-verify-machineinstrs-aarch64-O0-g/test-suite/SingleSource/UnitTests/block-byref-cxxobj-test.cpp Thanks. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104082/new/ https://reviews.llvm.org/D104082 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits