diff options
author | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2020-12-04 17:45:04 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2020-12-04 18:33:24 +0000 |
commit | ca2888310b245d0532d989685a090ae373ee3f93 (patch) | |
tree | a5acd18ccf47a4dd42a89b0baa69e037ea9d85ae /llvm/lib/Support/JSON.cpp | |
parent | e60f2cbd0cd8db134e998ba3764cfe59951b4b1d (diff) | |
download | llvm-ca2888310b245d0532d989685a090ae373ee3f93.zip llvm-ca2888310b245d0532d989685a090ae373ee3f93.tar.gz llvm-ca2888310b245d0532d989685a090ae373ee3f93.tar.bz2 |
Don't use sysroot/include when sysroot is empty.
Baremetal toolchain add Driver.SysRoot/include to the system include
paths without checking if Driver.SysRoot is empty. This resulted in
"-internal-isystem" "include" in the command. This patch adds check for
empty sysroot.
Reviewed By: jroelofs
Differential Revision: https://reviews.llvm.org/D92176
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
0 files changed, 0 insertions, 0 deletions