diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-02-13 22:05:50 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-02-13 22:05:50 +0000 |
commit | 5fe405df36c30aedf2acd0a713bc851c0189d97a (patch) | |
tree | 8bebadef5893e7029f9e9070980bf18095e3cfc5 /lldb/scripts/Python/finishSwigPythonLLDB.py | |
parent | 98c22539f2f4b96857be65a5a2797e4707451f2e (diff) | |
download | llvm-5fe405df36c30aedf2acd0a713bc851c0189d97a.zip llvm-5fe405df36c30aedf2acd0a713bc851c0189d97a.tar.gz llvm-5fe405df36c30aedf2acd0a713bc851c0189d97a.tar.bz2 |
Triple: Make setEnvironment not override the object format
Discovered by Halide users who had C++ code like this:
Triple.setArch(Triple::x86);
Triple.setOS(Triple::Windows);
Triple.setObjectFormat(Triple::ELF);
Triple.setEnvironment(Triple::MSVC);
This would produce the stringified triple of x86-windows-msvc, instead
of the x86-windows-msvc-elf string needed to run MCJIT.
With this change, they retain the -elf suffix.
llvm-svn: 229160
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
0 files changed, 0 insertions, 0 deletions