mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
LSP: initial LSP implementation for IR files to assist with decompilation (#1647)
* lsp: json-rpc example is working, a decent place to start... * lsp: vendor library * lsp: cleanup and time to get started * lsp: commit what i got so far * lsp: example `initialize` payload * lsp: switch to `stdio` * stash * modularize the lsp implementation * lsp: implement first actual LSP feature - function names in outline * lsp: produce document diagnostics * lsp: remove unused third-party lib * lsp: support hovering MIPS instructions in IR files * lsp: basic go-to all-types definition * stash * lsp: cleanup code, just need to add it to the release artifacts * fix some project configuration * fix linux build * lsp: add lsp to PR artifacts and release assets * lsp: address feedback
This commit is contained in:
@@ -476,7 +476,8 @@ void Function::find_global_function_defs(LinkedObjectFile& file, DecompilerTypeS
|
||||
auto& func = file.get_function_at_label(label_id);
|
||||
ASSERT(func.guessed_name.empty());
|
||||
func.guessed_name.set_as_global(name);
|
||||
dts.add_symbol(name, "function");
|
||||
// TODO - get definition info?
|
||||
dts.add_symbol(name, "function", {});
|
||||
;
|
||||
// todo - inform function.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user