diff --git a/src/debuginfo.cpp b/src/debuginfo.cpp index 5388dbb1611fd..eadd98437a638 100644 --- a/src/debuginfo.cpp +++ b/src/debuginfo.cpp @@ -969,6 +969,8 @@ class JITMemoryManagerWin : public JITMemoryManager { virtual uint8_t *getGOTBase() const { return JMM->getGOTBase(); } virtual uint8_t *startFunctionBody(const Function *F, uintptr_t &ActualSize) { + if (ActualSize == 0) + ActualSize += 64; ActualSize += 48; uint8_t *mem = JMM->startFunctionBody(F,ActualSize); ActualSize -= 48;