[JITLink] Add check to JITLink unit test to bail out for unsupported targets.
authorLang Hames <lhames@gmail.com>
Sat, 20 Apr 2019 18:30:17 +0000 (18:30 +0000)
committerLang Hames <lhames@gmail.com>
Sat, 20 Apr 2019 18:30:17 +0000 (18:30 +0000)
commitbcdce5cd41207f6554e463119c0c4cb0da7eac0d
tree9e5403184ea2d435dbc693350b34fcfde534545e
parentdfc3a4f6ffde04f0977c5a76877ce2054a13dde8
[JITLink] Add check to JITLink unit test to bail out for unsupported targets.

This should prevent spurious JITLink unit test failures for builds that do not
support the target(s) required by the tests.

llvm-svn: 358825
llvm/unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
llvm/unittests/ExecutionEngine/JITLink/JITLinkTestCommon.h
llvm/unittests/ExecutionEngine/JITLink/JITLinkTest_MachO_x86_64_Tests.cpp