projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move createIRObjectFile to the IRObjectFile class and return the concrete type.
[oota-llvm.git]
/
include
/
llvm
/
Object
/
IRObjectFile.h
diff --git
a/include/llvm/Object/IRObjectFile.h
b/include/llvm/Object/IRObjectFile.h
index 2ce9c95d0848d919dbd9b423094b39f6035eff7e..bc69de40cb56e872d20408bdaf3d12b41b1a2b36 100644
(file)
--- a/
include/llvm/Object/IRObjectFile.h
+++ b/
include/llvm/Object/IRObjectFile.h
@@
-42,6
+42,10
@@
public:
static inline bool classof(const Binary *v) {
return v->isIR();
}
+
+ static ErrorOr<IRObjectFile *>
+ createIRObjectFile(std::unique_ptr<MemoryBuffer> Object,
+ LLVMContext &Context);
};
}
}