[PATCH] Make the __morestack function available to the JIT memory manager under Linux.

Peter Collingbourne peter at pcc.me.uk
Tue Dec 30 10:07:22 PST 2014


================
Comment at: lib/ExecutionEngine/RTDyldMemoryManager.cpp:215
@@ +214,3 @@
+extern "C" void __morestack();
+#endif
+
----------------
reames wrote:
> Why do we need to forward declare this function, but not the other glibc functions used in getSymbolAddressInProccess?  Is there a header we could include instead?  
This function has a non-standard calling convention, so as far as I know there is no header we can include.

http://reviews.llvm.org/D6788

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list