void processInit() { auto codeLock = lockCode(); auto metaLock = lockMetadata(); s_code = new CodeCache(); s_ustubs.emitAll(*s_code, *Debug::DebugInfo::Get()); // Write an .eh_frame section that covers the whole TC. initUnwinder(s_code->base(), s_code->codeSize()); }
void processInit() { auto codeLock = lockCode(); auto metaLock = lockMetadata(); g_code = new(low_malloc_data(sizeof(CodeCache))) CodeCache(); g_ustubs.emitAll(*g_code, *Debug::DebugInfo::Get()); // Write an .eh_frame section that covers the whole TC. initUnwinder(g_code->base(), g_code->codeSize()); Disasm::ExcludedAddressRange(g_code->base(), g_code->codeSize()); }