diff options
author | Mats Petersson <mats.petersson@arm.com> | 2022-11-03 13:24:13 +0000 |
---|---|---|
committer | Mats Petersson <mats.petersson@arm.com> | 2022-11-03 18:53:23 +0000 |
commit | b36d678b8e75ec8eb09d2b7e9513884f99d15f0a (patch) | |
tree | eb921e7980996f8984e8ade0919195d779aac517 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 74bace2dfe57d9cf569addf94af4e01a990d2374 (diff) | |
download | llvm-b36d678b8e75ec8eb09d2b7e9513884f99d15f0a.zip llvm-b36d678b8e75ec8eb09d2b7e9513884f99d15f0a.tar.gz llvm-b36d678b8e75ec8eb09d2b7e9513884f99d15f0a.tar.bz2 |
[flang]Fix build failure in tests
After submitting the DataLayout fix, some tests fail when they didn't
before. This has to do with the target essentially being ignored when
these tests were run earlier, as the --target x86-unknown-linux-gnu
only has to be correctly formed to be accepted.
Now the target triple is actually being used to get the targetmachine
earlier - before MLIR is generated - so the test that has a valid target
but not available on the platform fails.
Fix is to require x86 registered target when running those tests.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D137335
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions