v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
objects-printer.cc File Reference
Include dependency graph for objects-printer.cc:

Go to the source code of this file.

Classes

struct  _v8_internal_debugonly::StackTraceDebugDetails
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  _v8_internal_debugonly
 

Macros

#define MAKE_STRUCT_CASE(TYPE, Name, name)
 
#define PRINT_HOLE(Type, Value, _)
 
#define AS_HELPER_DEF(Type, ...)
 

Functions

V8_DEBUGGING_EXPORT i::Tagged< i::Object_v8_internal_Get_Object (void *object)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_Object (void *object)
 
V8_DEBUGGING_EXPORT std::string _v8_internal_Print_Object_To_String (void *object)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_LoadHandler (void *object)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_StoreHandler (void *object)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_Code (void *object)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_OnlyCode (void *object, size_t range_limit)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_StackTrace ()
 
V8_DEBUGGING_EXPORT std::vector< _v8_internal_debugonly::StackTraceDebugDetails_v8_internal_Expand_StackTrace (i::Isolate *isolate)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_TransitionTree (void *object, bool start_at_root=false)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_Object_MarkBit (void *object)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_FunctionCallbackInfo (void *function_callback_info)
 
V8_DEBUGGING_EXPORT C void _v8_internal_Print_PropertyCallbackInfo (void *property_callback_info)
 

Macro Definition Documentation

◆ AS_HELPER_DEF

#define AS_HELPER_DEF ( Type,
... )
Value:
V8_DEBUGGING_EXPORT auto& _As_##Type(i::Address ptr) { \
i::Tagged<i::Type> tagged = UncheckedCast<i::Type>( \
GetObjectFromRaw(reinterpret_cast<void*>(ptr))); \
/* _As_XXX(..) functions provide storage for TaggedOperatorArrowRef<T> */ \
/* temporary object and return a reference as a measure against gdb */ \
/* error "Attempt to take address of value not located in memory." */ \
static auto result = tagged.operator->(); /* There's no default ctor. */ \
result = tagged.operator->(); \
return result; \
} \
V8_DEBUGGING_EXPORT auto& _As_##Type(i::Tagged<i::HeapObject>& obj) { \
return _As_##Type(obj.ptr()); \
}
V8_INLINE constexpr StorageType ptr() const
ZoneVector< RpoNumber > & result
#define V8_DEBUGGING_EXPORT

Definition at line 4250 of file objects-printer.cc.

◆ MAKE_STRUCT_CASE

#define MAKE_STRUCT_CASE ( TYPE,
Name,
name )
Value:
case TYPE: \
os << "<" #Name; \
Cast<Name>(*this)->BriefPrintDetails(os); \
os << ">"; \
break;

◆ PRINT_HOLE

#define PRINT_HOLE ( Type,
Value,
_ )
Value:
if (Is##Type(*this)) { \
os << "<" #Value ">"; \
break; \
}

Function Documentation

◆ _v8_internal_Expand_StackTrace()

V8_DEBUGGING_EXPORT std::vector< _v8_internal_debugonly::StackTraceDebugDetails > _v8_internal_Expand_StackTrace ( i::Isolate * isolate)
extern

Definition at line 4394 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Get_Object()

V8_DEBUGGING_EXPORT i::Tagged< i::Object > _v8_internal_Get_Object ( void * object)
extern

Definition at line 4233 of file objects-printer.cc.

◆ _v8_internal_Print_Code()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_Code ( void * object)
extern

Definition at line 4302 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_FunctionCallbackInfo()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_FunctionCallbackInfo ( void * function_callback_info)
extern

Definition at line 4455 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_LoadHandler()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_LoadHandler ( void * object)
extern

Definition at line 4284 of file objects-printer.cc.

◆ _v8_internal_Print_Object()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_Object ( void * object)
extern

Definition at line 4270 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_Object_MarkBit()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_Object_MarkBit ( void * object)
extern

Definition at line 4442 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_Object_To_String()

V8_DEBUGGING_EXPORT std::string _v8_internal_Print_Object_To_String ( void * object)
extern

Definition at line 4277 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_OnlyCode()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_OnlyCode ( void * object,
size_t range_limit )
extern

Definition at line 4345 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_PropertyCallbackInfo()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_PropertyCallbackInfo ( void * property_callback_info)
extern

Definition at line 4462 of file objects-printer.cc.

Here is the call graph for this function:

◆ _v8_internal_Print_StackTrace()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_StackTrace ( )
extern

Definition at line 4375 of file objects-printer.cc.

◆ _v8_internal_Print_StoreHandler()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_StoreHandler ( void * object)
extern

Definition at line 4293 of file objects-printer.cc.

◆ _v8_internal_Print_TransitionTree()

V8_DEBUGGING_EXPORT C void _v8_internal_Print_TransitionTree ( void * object,
bool start_at_root = false )
extern

Definition at line 4426 of file objects-printer.cc.

Here is the call graph for this function: