projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9afe9ac
)
Update the LLVM backend to llvm 65f2d00394b7b9e89b7f5195a566b4e10bfd57d2.
author
Zoltan Varga
<vargaz@gmail.com>
Sat, 13 Oct 2012 08:19:40 +0000
(10:19 +0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Sat, 13 Oct 2012 08:19:52 +0000
(10:19 +0200)
mono/mini/mini-llvm-cpp.cpp
patch
|
blob
|
history
diff --git
a/mono/mini/mini-llvm-cpp.cpp
b/mono/mini/mini-llvm-cpp.cpp
index 957e5f5e4f4b63602a5446158b5021f130776234..626c7dab8c85da5e00c206425461f8ca036dcb56 100644
(file)
--- a/
mono/mini/mini-llvm-cpp.cpp
+++ b/
mono/mini/mini-llvm-cpp.cpp
@@
-119,6
+119,16
@@
public:
assert(0);
return NULL;
}
+
+ virtual void* getPointerToNamedFunction(const std::string &Name, bool AbortOnFailure) {
+ if (!strcmp (Name.c_str (), "__bzero")) {
+ return (void*)bzero;
+ } else {
+ outs () << "Unable to resolve: " << Name << "\n";
+ assert(0);
+ return NULL;
+ }
+ }
};
MonoJITMemoryManager::MonoJITMemoryManager ()