commit | e8cfa98602acef64c756e6c77d1de5455843d855 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Apr 28 16:30:22 2022 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Apr 28 16:30:22 2022 -0700 |
tree | 01f0e712a5f0f266584e4d87037fcfd12c7ac8c4 | |
parent | dc5d39067a7e36a1710f6f3cdc8cd15463415ba8 [diff] |
interceptor: Skip --param. E.g. for the following command: clang [...] --param asan-instrument-allocas=1 [...] Test: TH Bug: 221278445 Change-Id: I6117d7d8d08b7fe9b5139c0ec0740a8155b93ffd
WARNING: The interceptor is still a work in progress. Contents of this section are subject to change.
The interceptor is a tool to intercept all execve
and other system calls during the build (specifically, make
) in order to construct the dependency tree and understand a list of commands executed by the build system. With the interceptor, the Bazel build system may first "dry-run", analyze all inputs and outputs of each command, generate BUILD.bazel
files for each command, then execute on these generated build files.
This allows us to enable the following: