mirror of
https://github.com/open-goal/jak-project
synced 2026-06-16 23:00:49 -04:00
[decompiler] handle types without inspects better in all-types (#1735)
* [decompiler] handle types without inspects better in all-types * move a few types I missed
This commit is contained in:
@@ -201,7 +201,18 @@ class ObjectFileDB {
|
||||
// symbol-name : type-name
|
||||
std::unordered_map<std::string, std::string> symbol_types;
|
||||
|
||||
std::vector<std::string> type_defs;
|
||||
struct TypeInfo {
|
||||
bool from_inspect_method = false; // does this come from an inspect method?
|
||||
// if from inspect method:
|
||||
std::string type_definition; // the deftype generated from the inspect method.
|
||||
// if not from inspect method:
|
||||
u32 flags = 0;
|
||||
std::string parent;
|
||||
};
|
||||
|
||||
std::vector<std::string> type_names_in_order;
|
||||
std::unordered_map<std::string, TypeInfo> type_info;
|
||||
|
||||
std::string symbol_defs;
|
||||
};
|
||||
void ir2_analyze_all_types(const fs::path& output_file,
|
||||
|
||||
Reference in New Issue
Block a user