OSDN Git Service

[Modules] Move the LeakDetector header into the IR library where the
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 12:46:06 +0000 (12:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 12:46:06 +0000 (12:46 +0000)
commit8f124fe88409b444fc3139b38423e3a61d4095dd
treef6ee25edcc2efea63936a9c8e69ae60b0203cb1f
parent11d95df9b000c83456d7d147d800590f99242ace
[Modules] Move the LeakDetector header into the IR library where the
source file had already been moved. Also move the unittest into the IR
unittest library.

This may seem an odd thing to put in the IR library but we only really
use this with instructions and it needs the LLVM context to work, so it
is intrinsically tied to the IR library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202842 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/IR/LeakDetector.h [moved from include/llvm/Support/LeakDetector.h with 95% similarity]
lib/CodeGen/MachineBasicBlock.cpp
lib/IR/BasicBlock.cpp
lib/IR/Function.cpp
lib/IR/Globals.cpp
lib/IR/Instruction.cpp
lib/IR/LeakDetector.cpp
lib/IR/Metadata.cpp
lib/IR/Module.cpp
lib/IR/Value.cpp
unittests/IR/CMakeLists.txt
unittests/IR/LeakDetectorTest.cpp [moved from unittests/Support/LeakDetectorTest.cpp with 86% similarity]
unittests/Support/CMakeLists.txt