balazske added a comment. The "Declaration not emitted" crash is reproducible by change of file "test/Index/targeted-cursor.c", the similar lines should be replaced to this (only the `target aarch64` is added):
// RUN: env CINDEXTEST_FAILONERROR=1 CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_NO_CACHING=1 \ // RUN: c-index-test -cursor-at=%s:5:10 %s -target aarch64 -include %t.h \ // RUN: -Xclang -error-on-deserialized-decl=PreambleVar \ // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \ // RUN: -Xclang -error-on-deserialized-decl=TopVar \ // RUN: | FileCheck %s -check-prefix=LOCAL-CURSOR1 The other "run" lines in the file can be removed to simplify the test. The run lines that are above these lines are not producing crash. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136886/new/ https://reviews.llvm.org/D136886 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits