18#pragma GCC diagnostic ignored "-Wattributes"
19#define GDB_HELPER extern "C" __attribute__((used, retain))
21#define GDB_HELPER extern "C"
47 if (owner.IsFunction()) {
84 while (
frame !=
nullptr) {
102#if defined(DART_COMPRESSED_POINTERS)
121 while (
frame !=
nullptr) {
123 frame->VisitObjectPointers(&visitor);
static CodePtr FindCodeUnsafe(uword pc)
static void DisassembleStub(const char *name, const Code &code)
static void DisassembleCode(const Function &function, const Code &code, bool optimized)
static ThreadState * CurrentVMThread()
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
void VisitCompressedPointers(uword heap_base, CompressedObjectPtr *first, CompressedObjectPtr *last)
virtual const char * ToCString() const
void VisitPointers(ObjectPtr *first, ObjectPtr *last) override
PrintObjectPointersVisitor()
@ kNoCrossThreadIteration
static void DumpCurrentTrace()
static Thread * Current()
GDB_HELPER Object * _handle(uword object)
GDB_HELPER void _disassemble(uword pc)
GDB_HELPER void _printDartStackTrace()
GDB_HELPER void _printObjectPtr(uword object)
GDB_HELPER void * _currentThread()
GDB_HELPER void _printGeneratedStackTrace(uword fp, uword sp, uword pc)
const StackTrace & GetCurrentStackTrace(int skip_frames)
GDB_HELPER void _printStackTrace()
GDB_HELPER void _printStackTraceWithLocals()