[PATCH] D102062: [analyzer][ctu] Append ctu-dir to ctu-invocation-list for non-absolute paths

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 7 04:41:40 PDT 2021


steakhal added a comment.

On second thought the current behavior is reasonable.
We call clang from a command line, so I think it's fair to expect that relative paths are resolved using the CWD.
AFAIK if one does not supply the `ctu-invocation-list`, then it would be substituted by `ctu-dir/invocations.yaml` anyway.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102062



More information about the cfe-commits mailing list