[PATCH] D101763: [analyzer][ctu] Avoid parsing invocation list again and again during on-demand parsing of CTU
Ella Ma via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 8 01:29:14 PDT 2021
OikawaKirie updated this revision to Diff 343818.
OikawaKirie added a comment.
Monitor function `open` together with `openat` to fix the failure in the test case.
As some distros actually call function `open` rather than forward to function `openat`, both functions should be monitored by `strace`.
But I am still worrying about whether function `open` will call `openat` and vice versa. If this circumstance is possible, the test case may still fail.
Although, I have not found any pieces of evidence for such invocations.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101763/new/
https://reviews.llvm.org/D101763
Files:
clang/include/clang/CrossTU/CrossTranslationUnit.h
clang/lib/CrossTU/CrossTranslationUnit.cpp
clang/test/Analysis/ctu-on-demand-parsing-multiple-invocation-list-parsing.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101763.343818.patch
Type: text/x-patch
Size: 4374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210508/00f7e571/attachment.bin>
More information about the cfe-commits
mailing list