prefix more stuff with '$' to make sure we don't go trying to lookup anything
we don't need to.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116676 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRDynamicChecks.cpp b/source/Expression/IRDynamicChecks.cpp
index 2a21db5..16e5d3d 100644
--- a/source/Expression/IRDynamicChecks.cpp
+++ b/source/Expression/IRDynamicChecks.cpp
@@ -31,9 +31,9 @@
static const char g_valid_pointer_check_text[] =
"extern \"C\" void\n"
-VALID_POINTER_CHECK_NAME " (unsigned char *ptr)\n"
+"$__lldb_valid_pointer_check (unsigned char *$__lldb_arg_ptr)\n"
"{\n"
-" unsigned char val = *ptr;\n"
+" unsigned char $__lldb_local_val = *__lldb_arg_ptr;\n"
"}";
static bool FunctionExists(const SymbolContext &sym_ctx, const char *name)
@@ -59,7 +59,7 @@
if (FunctionExists(sym_ctx, "gdb_object_getClass"))
{
return "extern \"C\" void "
- "$__lldb_objc_object_check(uint8_t *obj)"
+ "$__lldb_objc_object_check(uint8_t *$__lldb_arg_obj)"
"{"
""
"}";
@@ -67,7 +67,7 @@
else if (FunctionExists(sym_ctx, "gdb_class_getClass"))
{
return "extern \"C\" void "
- "$__lldb_objc_object_check(uint8_t *obj)"
+ "$__lldb_objc_object_check(uint8_t *$__lldb_arg_obj)"
"{"
""
"}";
@@ -75,7 +75,7 @@
else
{
return "extern \"C\" void "
- "$__lldb_objc_object_check(uint8_t *obj)"
+ "$__lldb_objc_object_check(uint8_t *$__lldb_arg_obj)"
"{"
""
"}";