diff options
author | Yifan Hong <elsk@google.com> | 2022-04-28 16:30:22 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2022-04-28 16:30:22 -0700 |
commit | e8cfa98602acef64c756e6c77d1de5455843d855 (patch) | |
tree | 01f0e712a5f0f266584e4d87037fcfd12c7ac8c4 | |
parent | dc5d39067a7e36a1710f6f3cdc8cd15463415ba8 (diff) | |
download | interceptor-e8cfa98602acef64c756e6c77d1de5455843d855.tar.gz |
E.g. for the following command:
clang [...] --param asan-instrument-allocas=1 [...]
Test: TH
Bug: 221278445
Change-Id: I6117d7d8d08b7fe9b5139c0ec0740a8155b93ffd
-rw-r--r-- | interceptor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interceptor.cc b/interceptor.cc index 0025ac7..c898947 100644 --- a/interceptor.cc +++ b/interceptor.cc @@ -226,7 +226,7 @@ class CompileLinkerAnalyzer : public Analyzer { 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,"; |