[PATCH] D136886: [clang] ASTImporter: Fix importing of va_list types and declarations
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 26 23:53:47 PST 2023
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
More information about the cfe-commits
mailing list