interceptor: Skip --param. E.g. for the following command: clang [...] --param asan-instrument-allocas=1 [...] Test: TH Bug: 221278445 Change-Id: I6117d7d8d08b7fe9b5139c0ec0740a8155b93ffd
diff --git a/interceptor.cc b/interceptor.cc index 0025ac7..c898947 100644 --- a/interceptor.cc +++ b/interceptor.cc
@@ -226,7 +226,7 @@ InputsOutputs determine_inputs_outputs(const Command& command) const final { static constexpr std::array kSkipNextArguments{ - "-isystem", "-I", "-L", "-m", "-soname", "-z", "-x", + "-isystem", "-I", "-L", "-m", "-soname", "-z", "-x", "--param", }; static constexpr std::string_view kOutputOption = "-Wp,-MMD,";