[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
Thu May 6 03:58:00 PDT 2021


steakhal added a comment.

Okay, so you 'just' want an indication for the given open call. What about using `strace`?
`strace -e trace=openat %clang_cc1 ... 2>&1 | grep '"invocations.yaml"' | FileCheck %s`

This way the given test file could contain the contents of the `importer.c`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101763/new/

https://reviews.llvm.org/D101763



More information about the cfe-commits mailing list