[Hexagon] clang driver should consider --sysroot option
authorSid Manning <sidneym@quicinc.com>
Tue, 18 Feb 2020 19:35:00 +0000 (13:35 -0600)
committerSid Manning <sidneym@quicinc.com>
Tue, 18 Feb 2020 20:25:55 +0000 (14:25 -0600)
commitfaa889b2358704c57febf2ad75ad88eec5debf31
tree2a271da41dd3a8963eab9219596214618e620da3
parenta7dcbe90cc2db4cd726cefa96d5adb5dbd286348
[Hexagon] clang driver should consider --sysroot option

Hexagon's clang driver should consider --sysroot option when setting
up include paths.

Differential Revision: https://reviews.llvm.org/D74776
clang/lib/Driver/ToolChains/Hexagon.cpp
clang/test/Driver/hexagon-toolchain-elf.c