diff options
author | Sam Clegg <sbc@chromium.org> | 2020-03-19 15:20:49 -0700 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2020-03-26 13:48:57 -0700 |
commit | 0731372ee25c8db93e0d976db4be4ffb7c7329c5 (patch) | |
tree | 4aec27a227c3d6265c0990f4c49bb3d153798a26 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | ad36491ebb993ed53534c02030e47b4695f8fd2d (diff) | |
download | llvm-0731372ee25c8db93e0d976db4be4ffb7c7329c5.zip llvm-0731372ee25c8db93e0d976db4be4ffb7c7329c5.tar.gz llvm-0731372ee25c8db93e0d976db4be4ffb7c7329c5.tar.bz2 |
[clang] Allow -DDEFAULT_SYSROOT to be a relative path
In this case we interpret the path as relative the clang driver binary.
This allows SDKs to be built that include clang along with a custom
sysroot without requiring users to specify --sysroot to point to the
directory where they installed the SDK.
See https://github.com/WebAssembly/wasi-sdk/issues/58
Differential Revision: https://reviews.llvm.org/D76653
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions