#include "llvm/Instructions.h"
#include "llvm/LLVMContext.h"
#include "llvm/ADT/OwningPtr.h"
+#include "llvm/Config/config.h"
#include "gtest/gtest.h"
}
static sys::Mutex *getMutex(const ExtraData &Data) { return Data.M; }
};
+#if ENABLE_THREADS
TYPED_TEST(ValueMapTest, LocksMutex) {
sys::Mutex M(false); // Not recursive.
bool CalledRAUW = false, CalledDeleted = false;
EXPECT_TRUE(CalledRAUW);
EXPECT_TRUE(CalledDeleted);
}
+#endif
template<typename KeyT>
struct NoFollow : ValueMapConfig<KeyT> {