summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_lldb.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-02 22:57:19 +0800
committerruki <[email protected]>2025-02-02 22:57:19 +0800
commitc6cf8f109644f2dfb65e9dedd5629cd4a564db02 (patch)
tree281b7e8e82059304ab1c64f01c2e89a6e87a5b7c /xmake/modules/detect/tools/find_lldb.lua
parente0b9b189f0c7e8b1438ecfe923d5b6d5a42ef5f2 (diff)
improve debugger/run
Diffstat (limited to 'xmake/modules/detect/tools/find_lldb.lua')
-rw-r--r--xmake/modules/detect/tools/find_lldb.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/detect/tools/find_lldb.lua b/xmake/modules/detect/tools/find_lldb.lua
index 7bd0b97ff..bf1e06269 100644
--- a/xmake/modules/detect/tools/find_lldb.lua
+++ b/xmake/modules/detect/tools/find_lldb.lua
@@ -37,19 +37,11 @@ import("lib.detect.find_programver")
-- @endcode
--
function main(opt)
-
- -- init options
opt = opt or {}
-
- -- find program
local program = find_program(opt.program or "lldb", opt)
-
- -- find program version
local version = nil
if program and opt and opt.version then
version = find_programver(program, opt)
end
-
- -- ok?
return program, version
end