projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add mfasr and mtasr
[oota-llvm.git]
/
unittests
/
ExecutionEngine
/
JIT
/
JITEventListenerTestCommon.h
diff --git
a/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
b/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
index d0c7ae90915ffd02ec7cfd5d894958f8160c84a5..61220f545f9fa1c4dd9084fe45d5d0ba9a48790e 100644
(file)
--- a/
unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
+++ b/
unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
@@
-10,24
+10,22
@@
#ifndef JIT_EVENT_LISTENER_TEST_COMMON_H
#define JIT_EVENT_LISTENER_TEST_COMMON_H
#ifndef JIT_EVENT_LISTENER_TEST_COMMON_H
#define JIT_EVENT_LISTENER_TEST_COMMON_H
-#include "llvm/DebugInfo.h"
-#include "llvm/DIBuilder.h"
-#include "llvm/Instructions.h"
-#include "llvm/Module.h"
#include "llvm/CodeGen/MachineCodeInfo.h"
#include "llvm/Config/config.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/ExecutionEngine/JITEventListener.h"
#include "llvm/CodeGen/MachineCodeInfo.h"
#include "llvm/Config/config.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/ExecutionEngine/JITEventListener.h"
-#include "llvm/Support/IRBuilder.h"
+#include "llvm/IR/DIBuilder.h"
+#include "llvm/IR/DebugInfo.h"
+#include "llvm/IR/IRBuilder.h"
+#include "llvm/IR/Instructions.h"
+#include "llvm/IR/Module.h"
+#include "llvm/IR/TypeBuilder.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/Dwarf.h"
-#include "llvm/Support/TypeBuilder.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/TargetSelect.h"
-
#include "gtest/gtest.h"
#include "gtest/gtest.h"
-
-#include <vector>
#include <string>
#include <utility>
#include <string>
#include <utility>
+#include <vector>
typedef std::vector<std::pair<std::string, unsigned int> > SourceLocations;
typedef std::map<uint64_t, SourceLocations> NativeCodeMap;
typedef std::vector<std::pair<std::string, unsigned int> > SourceLocations;
typedef std::map<uint64_t, SourceLocations> NativeCodeMap;
@@
-55,8
+53,8
@@
inline const char* getFilename() {
template<typename WrapperT>
class JITEventListenerTestBase : public testing::Test {
protected:
template<typename WrapperT>
class JITEventListenerTestBase : public testing::Test {
protected:
-
llvm::OwningP
tr<WrapperT> MockWrapper;
-
llvm::OwningP
tr<llvm::JITEventListener> Listener;
+
std::unique_p
tr<WrapperT> MockWrapper;
+
std::unique_p
tr<llvm::JITEventListener> Listener;
public:
llvm::Module* M;
public:
llvm::Module* M;