mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Revert "[test] Speculative fix for bots"
This reverts commit 5c291482ec8bcd686044ebc0d4cffe7bf769521c. unittests/Passes/CMakeFiles/PassesBindingsTests.dir/PassBuilderBindingsTest.cpp.o: In function `PassBuilderCTest::SetUp()': PassBuilderBindingsTest.cpp:(.text._ZN16PassBuilderCTest5SetUpEv[_ZN16PassBuilderCTest5SetUpEv]+0x28): undefined reference to `LLVMInitializeARMTargetInfo'
This commit is contained in:
parent
db2db16d63
commit
902d2930b3
@ -15,13 +15,12 @@ using namespace llvm;
|
||||
|
||||
class PassBuilderCTest : public testing::Test {
|
||||
void SetUp() override {
|
||||
LLVMInitializeAllTargetInfos();
|
||||
LLVMInitializeNativeTarget();
|
||||
char *Triple = LLVMGetDefaultTargetTriple();
|
||||
char *Err;
|
||||
LLVMTargetRef Target;
|
||||
if (LLVMGetTargetFromTriple(Triple, &Target, &Err)) {
|
||||
FAIL() << "Failed to create target from default triple (" << Triple
|
||||
<< "): " << Err;
|
||||
FAIL() << "Failed to create target from default triple: " << Err;
|
||||
}
|
||||
TM = LLVMCreateTargetMachine(Target, Triple, "generic", "",
|
||||
LLVMCodeGenLevelDefault, LLVMRelocDefault,
|
||||
|
Loading…
Reference in New Issue
Block a user