| /ark/runtime_core/verification/debug/ |
| D | Debug.cmake | 15 ${VERIFICATION_SOURCES_DIR}/debug/context/context.cpp 16 ${VERIFICATION_SOURCES_DIR}/debug/allowlist/allowlist.cpp 17 ${VERIFICATION_SOURCES_DIR}/debug/breakpoint/breakpoint.cpp 18 ${VERIFICATION_SOURCES_DIR}/debug/config/config_process.cpp 19 ${VERIFICATION_SOURCES_DIR}/debug/config/config_parse.cpp 20 ${VERIFICATION_SOURCES_DIR}/debug/handlers/config_handler_breakpoints.cpp 21 ${VERIFICATION_SOURCES_DIR}/debug/handlers/config_handler_allowlist.cpp 22 ${VERIFICATION_SOURCES_DIR}/debug/handlers/config_handler_options.cpp 23 ${VERIFICATION_SOURCES_DIR}/debug/handlers/config_handler_method_options.cpp 24 ${VERIFICATION_SOURCES_DIR}/debug/handlers/config_handler_method_groups.cpp [all …]
|
| D | config_load.cpp | 21 #include "verification/debug/config/config_parse.h" 22 #include "verification/debug/config/config_process.h" 23 #include "verification/debug/context/context.h" 24 #include "verification/debug/handlers/config_handlers.h" 25 #include "verification/debug/breakpoint/breakpoint_private.h" 26 #include "verification/debug/allowlist/allowlist_private.h" 40 panda::verifier::debug::RegisterConfigHandlerBreakpoints(); in ProcessConfigFile() 41 panda::verifier::debug::RegisterConfigHandlerAllowlist(); in ProcessConfigFile() 42 panda::verifier::debug::RegisterConfigHandlerOptions(); in ProcessConfigFile() 43 panda::verifier::debug::RegisterConfigHandlerMethodOptions(); in ProcessConfigFile() [all …]
|
| /ark/runtime_core/verification/debug/handlers/ |
| D | config_handler_options.cpp | 16 #include "verification/debug/config/config_process.h" 17 #include "verification/debug/breakpoint/breakpoint_private.h" 18 #include "verification/debug/allowlist/allowlist_private.h" 19 #include "verification/debug/parser/parser.h" 39 namespace panda::verifier::debug { namespace 106 {{"context", BoolField {offsetof(VerificationOptions, Debug.Show.Context)}}, in RegisterConfigHandlerOptions() 107 {"reg-changes", BoolField {offsetof(VerificationOptions, Debug.Show.RegChanges)}}, in RegisterConfigHandlerOptions() 108 {"typesystem", BoolField {offsetof(VerificationOptions, Debug.Show.TypeSystem)}}}}, in RegisterConfigHandlerOptions() 110 … {{"undefined-class", BoolField {offsetof(VerificationOptions, Debug.Allow.UndefinedClass)}}, in RegisterConfigHandlerOptions() 111 … {"undefined-method", BoolField {offsetof(VerificationOptions, Debug.Allow.UndefinedMethod)}}, in RegisterConfigHandlerOptions() [all …]
|
| D | config_handler_method_options.cpp | 16 #include "verification/debug/config/config_process.h" 17 #include "verification/debug/config/config.h" 18 #include "verification/debug/options/msg_set_parser.h" 19 #include "verification/debug/config/config_parse.h" 20 #include "verification/debug/default_config.h" 50 namespace panda::verifier::debug { namespace 64 LOG(DEBUG, VERIFIER) << "Wrong set of messages: '" << lines << "'"; in ProcessSectionMsg() 89 LOG(DEBUG, VERIFIER) << "Wrong options: '" << lines << "'"; in ProcessSectionShow() 102 LOG(DEBUG, VERIFIER) << "Wrong option: '" << option << "'"; in ProcessSectionShow() 121 LOG(DEBUG, VERIFIER) << "Wrong uplevel options: '" << lines << "'"; in ProcessSectionUplevel() [all …]
|
| D | config_handler_allowlist.cpp | 16 #include "verification/debug/config/config_process.h" 17 #include "verification/debug/breakpoint/breakpoint_private.h" 18 #include "verification/debug/allowlist/allowlist_private.h" 19 #include "verification/debug/parser/parser.h" 31 namespace panda::verifier::debug { namespace 37 using panda::verifier::debug::AllowlistKind; 75 … LOG(DEBUG, VERIFIER) << "Wrong debug verifier allowlist section: '" << s.name << "'"; in RegisterConfigHandlerAllowlist() 83 LOG(DEBUG, VERIFIER) << "Wrong allowlist line: '" << i << "'"; in RegisterConfigHandlerAllowlist() 90 … LOG(DEBUG, VERIFIER) << "Added to allowlist config '" << s.name << "' methods from class '" << c in RegisterConfigHandlerAllowlist() 94 … LOG(DEBUG, VERIFIER) << "Added to allowlist config '" << s.name << "' method '" << c in RegisterConfigHandlerAllowlist() [all …]
|
| D | config_handler_method_groups.cpp | 16 #include "verification/debug/config/config_process.h" 17 #include "verification/debug/parser/parser.h" 18 #include "verification/debug/options/method_group_parser.h" 38 namespace panda::verifier::debug { namespace 76 LOG(DEBUG, VERIFIER) << " Error: cannot parse config line '" << item << "'"; in RegisterConfigHandlerMethodGroups() 80 … if (!verif_options.Debug.GetMethodOptions().AddOptionsForGroup(ctx.group, ctx.options)) { in RegisterConfigHandlerMethodGroups() 81 …LOG(DEBUG, VERIFIER) << " Error: cannot set options for method group '" << ctx.group << "', optio… in RegisterConfigHandlerMethodGroups() 86 …LOG(DEBUG, VERIFIER) << " Set options for method group '" << ctx.group << "' : '" << ctx.options … in RegisterConfigHandlerMethodGroups() 92 config::RegisterConfigHandler("config.debug.method_groups.verifier.options", in RegisterConfigHandlerMethodGroups() 96 } // namespace panda::verifier::debug
|
| /ark/js_runtime/ecmascript/compiler/llvm/ |
| D | llvm_stackmap_parser.h | 41 LOG_ECMA(DEBUG) << "----- head ----"; in Print() 42 LOG_ECMA(DEBUG) << " version:" << static_cast<int>(stackmapversion); in Print() 43 LOG_ECMA(DEBUG) << "+++++ head ++++"; in Print() 54 LOG_ECMA(DEBUG) << " functionAddress:0x" << std::hex << functionAddress; in Print() 55 LOG_ECMA(DEBUG) << " stackSize:0x" << std::hex << stackSize; in Print() 56 LOG_ECMA(DEBUG) << " recordCount:" << std::hex << recordCount; in Print() 65 LOG_ECMA(DEBUG) << " LargeConstant:0x" << std::hex << LargeConstant; in Print() 76 LOG_ECMA(DEBUG) << " PatchPointID:0x" << std::hex << PatchPointID; in Print() 77 LOG_ECMA(DEBUG) << " instructionOffset:0x" << std::hex << InstructionOffset; in Print() 78 LOG_ECMA(DEBUG) << " Reserved:0x" << std::hex << Reserved; in Print() [all …]
|
| /ark/runtime_core/verification/debug/allowlist/ |
| D | allowlist.h | 22 namespace panda::verifier::debug { 28 (panda::verifier::debug::InAllowlist(panda::verifier::debug::AllowlistKind::METHOD, id) || \ 29 panda::verifier::debug::InAllowlist(panda::verifier::debug::AllowlistKind::CLASS, id)) 31 … (panda::verifier::debug::InAllowlist(panda::verifier::debug::AllowlistKind::METHOD_CALL, id) || \ 32 panda::verifier::debug::InAllowlist(panda::verifier::debug::AllowlistKind::CLASS, id)) 33 } // namespace panda::verifier::debug
|
| /ark/runtime_core/verification/ |
| D | verification.gni | 42 "$ark_root/verification/debug/allowlist/allowlist.cpp", 43 "$ark_root/verification/debug/breakpoint/breakpoint.cpp", 44 "$ark_root/verification/debug/config/config_parse.cpp", 45 "$ark_root/verification/debug/config/config_process.cpp", 46 "$ark_root/verification/debug/config_load.cpp", 47 "$ark_root/verification/debug/context/context.cpp", 48 "$ark_root/verification/debug/default_config.cpp", 49 "$ark_root/verification/debug/handlers/config_handler_allowlist.cpp", 50 "$ark_root/verification/debug/handlers/config_handler_breakpoints.cpp", 51 "$ark_root/verification/debug/handlers/config_handler_method_groups.cpp", [all …]
|
| D | messages.yaml | 21 level: debug 27 level: debug 33 level: debug 38 level: debug 44 level: debug 50 level: debug 56 level: debug 62 level: debug 68 level: debug 76 level: debug [all …]
|
| /ark/runtime_core/runtime/mem/ |
| D | humongous_obj_allocator-inl.h | 33 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Initializing HumongousObjAllocator"; in HumongousObjAllocator() 40 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Destroying HumongousObjAllocator"; in ~HumongousObjAllocator() 48 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to allocate memory with size " << size; in Alloc() 53 … LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "The align is too big for this allocator. Return nullptr."; in Alloc() 65 … LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "The size is too big for this allocator. Return nullptr."; in Alloc() 72 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Find reserved memory block with size " << mem_header->GetPo… in Alloc() 79 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Find free memory block with size " << mem_header->GetPoolSi… in Alloc() 84 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Can't find memory for this size"; in Alloc() 108 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to free memory at invalid addr 0"; in FreeUnsafe() 111 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to free memory at addr " << std::hex << mem; in FreeUnsafe() [all …]
|
| D | runslots_allocator-inl.h | 35 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Initializing RunSlotsAllocator"; in RunSlotsAllocator() 42 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Destroying RunSlotsAllocator"; in ~RunSlotsAllocator() 50 …LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Try to allocate " << size << " bytes of memory with align " << a… in Alloc() 52 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate - size of object is null"; in Alloc() 57 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Change size of allocation to " << alignment_size in Alloc() 62 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate - size of object is too big"; in Alloc() 75 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "We don't have free RunSlots for size " << run_slot_size in Alloc() 86 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Get RunSlots from free list"; in Alloc() 88 LOG_RUNSLOTS_ALLOCATOR(DEBUG) in Alloc() 92 … LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate an object, couldn't create RunSlots"; in Alloc() [all …]
|
| D | frame_allocator-inl.h | 36 LOG_FRAME_ALLOCATOR(DEBUG) << "Initializing of FrameAllocator"; in FrameAllocator() 49 LOG_FRAME_ALLOCATOR(DEBUG) << "Destroying of FrameAllocator"; in ~FrameAllocator() 51 LOG_FRAME_ALLOCATOR(DEBUG) << "Free arena at addr " << std::hex << last_alloc_arena_; in ~FrameAllocator() 64 LOG_FRAME_ALLOCATOR(DEBUG) << "Try to allocate a new arena with size " << arena_size; in TryAllocateNewArena() 68 LOG_FRAME_ALLOCATOR(DEBUG) << "Couldn't get memory for a new arena"; in TryAllocateNewArena() 76 …LOG_FRAME_ALLOCATOR(DEBUG) << "Successfully allocate new arena with addr " << std::hex << new_aren… in TryAllocateNewArena() 88 …LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate " << size << " bytes for a new frame in current aren… in Alloc() 90 LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate a new arena, return nullptr"; in Alloc() 95 …LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate memory in a totally free arena, change default arena… in Alloc() 144 LOG_FRAME_ALLOCATOR(DEBUG) << "TryToPush failed - we don't have a free arena"; in TryToAllocate() [all …]
|
| D | tlab.cpp | 31 …LOG_TLAB_ALLOCATOR(DEBUG) << "Construct a new TLAB at addr " << std::hex << address << " with size… in TLAB() 42 …LOG_TLAB_ALLOCATOR(DEBUG) << "Fill a TLAB with buffer at addr " << std::hex << address << " with s… in Fill() 48 …LOG_TLAB_ALLOCATOR(DEBUG) << "Destroy a TLAB at addr " << std::hex << memory_start_addr_ << " with… in ~TLAB() 54 LOG_TLAB_ALLOCATOR(DEBUG) << "Destroy the TLAB at addr " << std::hex << this; in Destroy() 69 LOG_TLAB_ALLOCATOR(DEBUG) << "Alloc size = " << size << " at addr = " << ret; in Alloc() 75 LOG_TLAB_ALLOCATOR(DEBUG) << __func__ << " started"; in IterateOverObjects() 84 LOG_TLAB_ALLOCATOR(DEBUG) << __func__ << " finished"; in IterateOverObjects() 90 LOG_TLAB_ALLOCATOR(DEBUG) << __func__ << " started"; in IterateOverObjectsInRange() 107 LOG_TLAB_ALLOCATOR(DEBUG) << __func__ << " finished"; in IterateOverObjectsInRange()
|
| D | freelist_allocator-inl.h | 33 LOG_FREELIST_ALLOCATOR(DEBUG) << "Initializing FreeListAllocator"; in FreeListAllocator() 41 LOG_FREELIST_ALLOCATOR(DEBUG) << "Destroying FreeListAllocator"; in ~FreeListAllocator() 50 LOG_FREELIST_ALLOCATOR(DEBUG) << "Try to allocate object with size " << std::dec << size; in Alloc() 53 …LOG_FREELIST_ALLOCATOR(DEBUG) << "Try to allocate an object with size less than min for this alloc… in Alloc() 59 … LOG_FREELIST_ALLOCATOR(DEBUG) << "Align size to default alignment. New size = " << alloc_size; in Alloc() 62 …LOG_FREELIST_ALLOCATOR(DEBUG) << "Try allocate too big memory for free list allocator. Return null… in Alloc() 68 LOG_FREELIST_ALLOCATOR(DEBUG) << "Couldn't allocate memory"; in Alloc() 71 …LOG_FREELIST_ALLOCATOR(DEBUG) << "Found memory block at addr = " << std::hex << memory_block << " … in Alloc() 77 …LOG_FREELIST_ALLOCATOR(DEBUG) << "Raw memory is not aligned as we need. Create special header for … in Alloc() 86 … LOG_FREELIST_ALLOCATOR(DEBUG) << "Created padding header at addr " << std::hex << padding_header; in Alloc() [all …]
|
| /ark/runtime_core/disassembler/ |
| D | disasm.cpp | 32 LOG(DEBUG, DISASSEMBLER) << "[initializing disassembler]\nfile: " << input_file << "\n"; in Disassemble() 40 LOG(DEBUG, DISASSEMBLER) << "[serializing results]\n"; in Disassemble() 56 panda::PandArg<bool> debug("debug", false, in main() local 57 … "Enable output of debug messages, which will be printed to the standard output if no " in main() 58 "--debug-file is specified"); in main() 60 …"debug-file", "", "(--debug-file FILENAME) Set the debug file name, which is std::cout by default"… in main() 70 pa_parser.Add(&debug); in main() 82 if (debug.GetValue()) { in main() 85 panda::Logger::Level::DEBUG, in main() 89 debug_file.GetValue(), panda::Logger::Level::DEBUG, in main()
|
| /ark/runtime_core/runtime/mem/gc/ |
| D | crossing_map.cpp | 33 LOG_CROSSING_MAP(DEBUG) << "Create CrossingMap with start_addr 0x" << std::hex << start_addr_; in CrossingMap() 69 …LOG_CROSSING_MAP(DEBUG) << "Try to AddObject with addr " << std::hex << obj_addr << " and size " <… in AddObject() 76 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << first_map_num in AddObject() 81 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << first_map_num in AddObject() 87 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << first_map_num in AddObject() 95 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << first_map_num in AddObject() 119 …LOG_CROSSING_MAP(DEBUG) << "AddObject - set CROSSED_BORDER to map num " << i << " with offset " <<… in UpdateCrossedBorderOnAdding() 140 …LOG_CROSSING_MAP(DEBUG) << "AddObject - set CROSSED_BORDER or INITIALIZED_AND_CROSSED_BORDERS to f… in UpdateCrossedBorderOnAdding() 147 …LOG_CROSSING_MAP(DEBUG) << "Try to RemoveObject with addr " << std::hex << obj_addr << " and size … in RemoveObject() 160 … LOG_CROSSING_MAP(DEBUG) << "RemoveObject - it is the first object in map num " << first_map_num in RemoveObject() [all …]
|
| D | gc_queue.cpp | 31 LOG(DEBUG, GC) << "GetTask() Return INVALID_CAUSE"; in GetTask() 34 LOG(DEBUG, GC) << "Empty " << queue_name_ << ", waiting..."; in GetTask() 43 LOG(DEBUG, GC) << "GetTask TimedWait"; in GetTask() 49 LOG(DEBUG, GC) << "Extract a task from a " << queue_name_; in GetTask() 57 … LOG(DEBUG, GC) << "Skip AddTask to queue: " << queue_name_ << " cause it's finalized already"; in AddTask() 61 LOG(DEBUG, GC) << "Add task to a " << queue_name_; in AddTask() 78 LOG(DEBUG, GC) << "Clear a " << queue_name_; in Finalize()
|
| D | gc_trigger.cpp | 44 …LOG(DEBUG, GC_TRIGGER) << "GCTriggerHeap created, min heap size " << min_heap_size << ", percent t… in GCTriggerHeap() 51 LOG(DEBUG, GC_TRIGGER) << "SetTempTargetFootprint target_footprint = " << target_size; in SetMinTargetFootprint() 82 LOG(DEBUG, GC_TRIGGER) << "ComputeNewTargetFootprint target_footprint = " << target; in ComputeNewTargetFootprint() 93 LOG(DEBUG, GC_TRIGGER) << "GCTriggerHeap triggered"; in IsGcTriggered() 111 } else if (gc_trigger_type == "debug") { in CreateGCTrigger() 112 trigger_type = GCTriggerType::DEBUG; in CreateGCTrigger() 130 case GCTriggerType::DEBUG: in CreateGCTrigger() 154 LOG(DEBUG, GC_TRIGGER) << "GCTriggerDebug created"; in GCTriggerDebug() 161 LOG(DEBUG, GC_TRIGGER) << "GCTriggerDebug counter " << counter; in IsGcTriggered() 163 LOG(DEBUG, GC_TRIGGER) << "GCTriggerDebug triggered"; in IsGcTriggered()
|
| /ark/runtime_core/docs/ |
| D | debugger-vscode-communication.md | 4 …ugger-port=<port_number> --debugger-library-path=<path_to_debugger_library>` launches debug server. 10 ### Description of debug starting process 14 3. Secondly server accepts a real client and debug session begins. 18 2. It's critical for VSCode to have a debug server initialized at allocated time so we establish a … 19 3. We create a test client every 100 milliseconds to check is socket ready for a debug session. 21 5. If connection was not established at the allocated time the `Can not launch debug server` error …
|
| D | runtime-debug-api.md | 1 # Runtime Debug API 21 …debug mode, thef `Runtime::StartDebugger()` method is used. This method loads the debug library an… 27 …curs when the PC of bytecode is changed during interpretation (only if runtime works in debug mode) 29 [`debug::Debugger`](../runtime/tooling/debugger.h) subscribes to these events and notifies debugger…
|
| /ark/js_runtime/ecmascript/compiler/ |
| D | llvm_ir_builder.cpp | 225 …COMPILER_LOG(DEBUG) << "Basicblock id :" << bb->GetId() << "impl:" << bb->GetImpl<LLVMTFBuilderBas… in StartBuilder() 346 LOG_ECMA(DEBUG) << "store value:" << value << " " in GenPrologue() 396 …COMPILER_LOG(DEBUG) << "create LLVMBB = " << buf << " impl:" << bb->GetImpl<LLVMTFBuilderBasicBloc… in EnsureBasicBlock() 646 COMPILER_LOG(DEBUG) << LLVMPrintTypeToString(dataType); in VisitAlloca() 647 COMPILER_LOG(DEBUG) << LLVMPrintTypeToString(ConvertLLVMTypeFromGate(gate)); in VisitAlloca() 667 …COMPILER_LOG(DEBUG) << "srcGate: " << srcGates[i] << " dominated gateId:" << gateId << "dominated … in VisitPhi() 673 COMPILER_LOG(DEBUG) << "bb : " << bb; in VisitPhi() 711 COMPILER_LOG(DEBUG) << " gate: " << gate << " popCount: " << popCount; in VisitReturn() 712 COMPILER_LOG(DEBUG) << " return: " << operand << " gateId: " << circuit_->GetId(operand); in VisitReturn() 714 COMPILER_LOG(DEBUG) << LLVMValueToString(returnValue); in VisitReturn() [all …]
|
| /ark/ts2abc/ts2panda/src/ |
| D | cmdOptions.ts | 26 …{ name: 'debug-log', alias: 'l', type: Boolean, defaultValue: false, description: "show info debug… 28 …{ name: 'debug', alias: 'd', type: Boolean, defaultValue: false, description: "compile with debug … 29 …debug-add-watch', alias: 'w', type: String, lazyMultiple: true, defaultValue: [], description: "wa… 34 …: "error", description: "specifie optimizer log level. Possible values: ['debug', 'info', 'error',… 45 …{ name: 'debug-type', alias: 'g', type: Boolean, defaultValue: false, description: "Print type-rel… 61 return this.options["debug-log"]; 75 return this.options["debug"]; 79 this.options["debug-add-watch"] = watchArgs; 105 return this.options["debug-add-watch"].length != 0; 109 return this.options["debug-add-watch"][0]; [all …]
|
| /ark/runtime_core/tests/cts-generator/generator/ |
| D | test_case.rb | 24 LOG.debug "TestCase created with '#{command}' '#{current_case}' '#{instruction}'" 82 LOG.debug 'Case has own template, use it' 85 LOG.debug 'Use main template for current tests' 90 LOG.debug "substitute values: #{@current_case[Generator::CASE_VALUES]}" 94 LOG.debug "Parse -#{val}-" 98 LOG.debug "'#{single_line}' evaluate" 103 LOG.debug "'#{str}'' repeat #{num} times" 106 LOG.debug "simple value `#{single_line}`" 134 LOG.debug 'No values to substitute' 141 # LOG.debug "case checking type is #{case_check_type}"
|
| /ark/runtime_core/verification/debug/context/ |
| D | context.h | 19 #include "verification/debug/breakpoint/breakpoint_private.h" 20 #include "verification/debug/allowlist/allowlist_private.h" 21 #include "verification/debug/config/config.h" 22 #include "verification/debug/config/config.h" 35 namespace panda::verifier::debug { 58 } // namespace panda::verifier::debug
|