summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/IR/CMakeLists.txt1
-rw-r--r--unittests/IR/LeakDetectorTest.cpp (renamed from unittests/Support/LeakDetectorTest.cpp)4
-rw-r--r--unittests/Support/CMakeLists.txt1
3 files changed, 3 insertions, 3 deletions
diff --git a/unittests/IR/CMakeLists.txt b/unittests/IR/CMakeLists.txt
index e1c295d0be..7368a24051 100644
--- a/unittests/IR/CMakeLists.txt
+++ b/unittests/IR/CMakeLists.txt
@@ -13,6 +13,7 @@ set(IRSources
DominatorTreeTest.cpp
IRBuilderTest.cpp
InstructionsTest.cpp
+ LeakDetectorTest.cpp
LegacyPassManagerTest.cpp
MDBuilderTest.cpp
MetadataTest.cpp
diff --git a/unittests/Support/LeakDetectorTest.cpp b/unittests/IR/LeakDetectorTest.cpp
index d198c7a8bd..94eed4c143 100644
--- a/unittests/Support/LeakDetectorTest.cpp
+++ b/unittests/IR/LeakDetectorTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/LeakDetector/LeakDetector.cpp - LeakDetector tests ---===//
+//===- LeakDetectorTest.cpp -----------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/IR/LeakDetector.h"
#include "gtest/gtest.h"
-#include "llvm/Support/LeakDetector.h"
using namespace llvm;
diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt
index 9df2e17277..93f707e4e2 100644
--- a/unittests/Support/CMakeLists.txt
+++ b/unittests/Support/CMakeLists.txt
@@ -17,7 +17,6 @@ add_llvm_unittest(SupportTests
ErrorOrTest.cpp
FileOutputBufferTest.cpp
LEB128Test.cpp
- LeakDetectorTest.cpp
LineIteratorTest.cpp
LockFileManagerTest.cpp
ManagedStatic.cpp