[analyzer] scan-build: handle --sysroot=/path in addition to --sysroot /path.
authorArtem Dergachev <artem.dergachev@gmail.com>
Thu, 5 Sep 2019 00:44:56 +0000 (00:44 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Thu, 5 Sep 2019 00:44:56 +0000 (00:44 +0000)
commit473d0d7f569c84446d9880727403524d4a9838eb
tree9814cfc7151dc85306d023c239be9b2feae8c9d8
parentb7ebdbdb357fd798cfb6cf2e5fd6fa31c35de8b8
[analyzer] scan-build: handle --sysroot=/path in addition to --sysroot /path.

Current code assumes flags in CompilerLinkerOptionMap don't use =,
which isn't always true.

Patch by Chris Laplante!

Differential Revision: https://reviews.llvm.org/D66569

llvm-svn: 371002
clang/tools/scan-build/libexec/ccc-analyzer