diff options
author | Giulio Girardi <giulio.girardi@protechgroup.it> | 2021-01-05 12:44:04 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2021-01-05 12:54:07 +0100 |
commit | 2f8d1e9eb27e111eb6dfd242d88dd7c98005fb5c (patch) | |
tree | 721566659688bb9cfa4f04f14626290efcf8c1fe /llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp | |
parent | 0e4d2361b817bd16f97cd45d5792017edc3891ee (diff) | |
download | llvm-2f8d1e9eb27e111eb6dfd242d88dd7c98005fb5c.zip llvm-2f8d1e9eb27e111eb6dfd242d88dd7c98005fb5c.tar.gz llvm-2f8d1e9eb27e111eb6dfd242d88dd7c98005fb5c.tar.bz2 |
[clangd] When querying drivers by binary, look in PATH too
Sometimes compile_commands.json databases are created without an
absolute path for the driver in the command field. By default the driver
name is appended to the current directory, however if no driver is found
in that location assume it was in the default PATH and try finding it
there
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D93600
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp')
0 files changed, 0 insertions, 0 deletions