[PATCH] D64297: [JSONCompilationDatabase] Strip distcc/ccache/gomacc wrappers from parsed commands.
Sam McCall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 7 09:48:30 PDT 2019
sammccall added a comment.
In D64297#1572621 <https://reviews.llvm.org/D64297#1572621>, @MaskRay wrote:
> I just wanted to say I hope there is some way to opt out this behavior. Some users (myself:) ) of JSONCompilationDatabase do not want to handle command line option filtering in this layer. I think this logic should be raised to the consumer layer.
The design of the compilation database/plugin model makes it pretty hard to add options.
Can you explain a bit more why a clang-based tool would want to see the wrapper command? AFAIK the intention of this interface has been to provide argv for the driver to consume.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64297/new/
https://reviews.llvm.org/D64297
More information about the llvm-commits
mailing list