mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
44ba332ebe
* Clang for Windows is no longer required. Instead it requires GCC + multilib in the WSL distro. * It will try to use Windows's installed LuaJIT, then fallback to WSL's LuaJIT. If none is found, an error will be thrown. * Add luajit.h include file as byproducts.
18 lines
712 B
Lua
18 lines
712 B
Lua
----------------------------------------------------------------------------
|
|
-- LuaJIT x64 disassembler wrapper module.
|
|
--
|
|
-- Copyright (C) 2005-2023 Mike Pall. All rights reserved.
|
|
-- Released under the MIT license. See Copyright Notice in luajit.h
|
|
----------------------------------------------------------------------------
|
|
-- This module just exports the 64 bit functions from the combined
|
|
-- x86/x64 disassembler module. All the interesting stuff is there.
|
|
------------------------------------------------------------------------------
|
|
|
|
local dis_x86 = require((string.match(..., ".*%.") or "").."dis_x86")
|
|
return {
|
|
create = dis_x86.create64,
|
|
disass = dis_x86.disass64,
|
|
regname = dis_x86.regname64
|
|
}
|
|
|