Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
* change to load version 15
Browse files Browse the repository at this point in the history
  • Loading branch information
codeon-nat committed Apr 29, 2019
1 parent 2440b3a commit 325cd45
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion source/Expression/ExpressionSourceCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ static const struct mulle_clang_objccompilerinfo\n\
unsigned int runtime_version;\n\
} __mulle_objc_objccompilerinfo =\n\
{\n\
14, // load version must match \n\
15, // @mulle-objc@ load version must match \n\
0 // 0 to not emit __load_mulle_objc\n\
};\n\
");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,15 +628,15 @@ MulleObjCTrampolineHandler::GetStepThroughDispatchPlan( Thread &thread,
int_value.GetScalar() = 1;
else
if( this_dispatch.has_class_argument)
int_value.GetScalar() = 2; // FIXME - Set to 0 when debugging is done.
int_value.GetScalar() = 2;
else
int_value.GetScalar() = 0; // FIXME - Set to 0 when debugging is done.
int_value.GetScalar() = 0;
dispatch_values.PushValue(int_value);

if (log && log->GetVerbose())
int_value.GetScalar() = 1;
else
int_value.GetScalar() = 0; // FIXME - Set to 0 when debugging is done.
int_value.GetScalar() = 0;
dispatch_values.PushValue( int_value);

// The step through code might have to fill in the cache, so it is not safe to run only one thread.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
"static const \n"
"extern \"C\"\n"
"{\n"
"static const\n"
"struct mulle_clang_objccompilerinfo\n"
"{\n"
"unsigned int load_version;\n"
"unsigned int runtime_version;\n"
"} __mulle_objc_objccompilerinfo =\n"
"{\n"
"14, \n"
"15, \n"
"0 \n"
"};\n"
"void *__lldb_objc_get_dangerous_class_storage( void)\n"
"{\n"
"extern void *mulle_objc_lldb_get_dangerous_classstorage_pointer( void);\n"
"return( mulle_objc_lldb_get_dangerous_classstorage_pointer());\n"
"}\n"
"}\n"
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ extern "C"
static const
struct mulle_clang_objccompilerinfo
{
unsigned int load_version;
unsigned int runtime_version;
unsigned int load_version;
unsigned int runtime_version;
} __mulle_objc_objccompilerinfo =
{
14, // load version must match
0 // 0 to not emit __load_mulle_objc
15, // @mulle-objc@ load version must match
0 // 0 to not emit __load_mulle_objc
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"unsigned int runtime_version;\n"
"} __mulle_objc_objccompilerinfo =\n"
"{\n"
"14, \n"
"15, \n"
"0 \n"
"};\n"
"void *__lldb_objc_find_implementation_for_selector( void *object,\n"
Expand All @@ -27,4 +27,4 @@
"is_superid,\n"
"debug));\n"
"}\n"
"}\n"
"}\n"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extern "C"
unsigned int runtime_version;
} __mulle_objc_objccompilerinfo =
{
14, // load version must match
15, // @mulle-objc@ load version must match
0 // 0 to not emit __load_mulle_objc
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
"static const \n"
"extern \"C\"\n"
"{\n"
"static const\n"
"struct mulle_clang_objccompilerinfo\n"
"{\n"
"unsigned int load_version;\n"
"unsigned int runtime_version;\n"
"} __mulle_objc_objccompilerinfo =\n"
"{\n"
"14, \n"
"15, \n"
"0 \n"
"};\n"
"void %s( void *$__lldb_obj, unsigned int $__lldb_sel)\n"
"{\n"
"extern void mulle_objc_lldb_check_object( void *$__lldb_obj, unsigned int $__lldb_sel);\n"
"mulle_objc_lldb_check_object( $__lldb_obj, $__lldb_sel);\n"
"}\n"
"}\n"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extern "C"
unsigned int runtime_version;
} __mulle_objc_objccompilerinfo =
{
14, // load version must match
15, // @mulle-objc@ load version must match
0 // 0 to not emit __load_mulle_objc
};

Expand Down

0 comments on commit 325cd45

Please sign in to comment.