[PATCH] D101763: [analyzer][ctu] Avoid parsing invocation list again and again during on-demand parsing of CTU
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 8 03:02:36 PDT 2021
steakhal added a comment.
In D101763#2745802 <https://reviews.llvm.org/D101763#2745802>, @OikawaKirie wrote:
> I do not know why the test case always fails on the build server, it runs perfectly on my computer. : (
I've locally run your patch and seemed good to me, I regret not having a look at the actual build bot.
In D101763#2745900 <https://reviews.llvm.org/D101763#2745900>, @OikawaKirie wrote:
> 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.
Uh, that's a fair point. Now, I'm also worried xD
To be fair, I don't have any better idea testing this without overwhelming effort.
If anything goes wrong, we can simply revert this change. This is 'just' a performance fix.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101763/new/
https://reviews.llvm.org/D101763
More information about the cfe-commits
mailing list