mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
re-enable unittest
Accidentally left out since r145214/r145217. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ea47179e6
commit
9f756cf4e2
@ -12,7 +12,7 @@
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/LLVMContext.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
#include "llvm/Config/config.h"
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
@ -195,7 +195,7 @@ struct LockMutex : ValueMapConfig<KeyT> {
|
||||
}
|
||||
static sys::Mutex *getMutex(const ExtraData &Data) { return Data.M; }
|
||||
};
|
||||
#if ENABLE_THREADS
|
||||
#if LLVM_ENABLE_THREADS
|
||||
TYPED_TEST(ValueMapTest, LocksMutex) {
|
||||
sys::Mutex M(false); // Not recursive.
|
||||
bool CalledRAUW = false, CalledDeleted = false;
|
||||
|
Loading…
Reference in New Issue
Block a user