| /arkcompiler/ets_frontend/merge_abc/src/ |
| D | assemblyDebugProto.cpp | 19 void DebuginfoIns::Serialize(const panda::pandasm::debuginfo::Ins &debug, protoPanda::DebuginfoIns … in Serialize() argument 21 protoDebug.set_linenumber(debug.line_number); in Serialize() 22 protoDebug.set_columnnumber(debug.column_number); in Serialize() 23 protoDebug.set_boundleft(debug.bound_left); in Serialize() 24 protoDebug.set_boundright(debug.bound_right); in Serialize() 27 …Ins::Deserialize(const protoPanda::DebuginfoIns &protoDebug, panda::pandasm::debuginfo::Ins &debug) in Deserialize() argument 29 debug.line_number = protoDebug.linenumber(); in Deserialize() 30 debug.column_number = protoDebug.columnnumber(); in Deserialize() 31 debug.bound_left = protoDebug.boundleft(); in Deserialize() 32 debug.bound_right = protoDebug.boundright(); in Deserialize() [all …]
|
| /arkcompiler/runtime_core/libabckit/doc/ |
| D | how_to_build_and_test.md | 15 # Debug mode 16 ./ark.py x64.debug abckit_packages --gn-args="is_standard_system=true abckit_enable=true" 24 # Debug mode 25 ./ark.py x64.debug abckit_tests --gn-args="is_standard_system=true abckit_enable=true" 33 # Debug mode 34 ./ark.py x64.debug abckit_tests --gn-args="is_standard_system=true abckit_enable=true libabckit_wit… 41 Remove out, build AbcKit, execute format, tidy, unit-tests and stress tests in debug and release mo… 49 Remove out, build AbcKit, execute unit-tests and stress tests in debug mode and collect code covera…
|
| /arkcompiler/toolchain/tooling/client/ark_multi/ |
| D | ReadMe_Zh.md | 25 python3 ark.py x64.debug test262 31 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun… 38 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun…
|
| D | ReadMe.md | 45 python3 ark.py x64.debug test262 56 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun… 69 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun…
|
| /arkcompiler/runtime_core/static_core/verification/config/handlers/ |
| D | config_handler_options.cpp | 38 namespace ark::verifier::debug { namespace 109 {{"context", BoolField {offsetof(VerificationOptions, debug.show.context)}}, in RegisterConfigHandlerOptions() 110 {"reg-changes", BoolField {offsetof(VerificationOptions, debug.show.regChanges)}}, in RegisterConfigHandlerOptions() 111 {"typesystem", BoolField {offsetof(VerificationOptions, debug.show.typeSystem)}}, in RegisterConfigHandlerOptions() 114 … {{"undefined-class", BoolField {offsetof(VerificationOptions, debug.allow.undefinedClass)}}, in RegisterConfigHandlerOptions() 115 … {"undefined-method", BoolField {offsetof(VerificationOptions, debug.allow.undefinedMethod)}}, in RegisterConfigHandlerOptions() 116 … {"undefined-field", BoolField {offsetof(VerificationOptions, debug.allow.undefinedField)}}, in RegisterConfigHandlerOptions() 117 … {"undefined-type", BoolField {offsetof(VerificationOptions, debug.allow.undefinedType)}}, in RegisterConfigHandlerOptions() 118 … {"undefined-string", BoolField {offsetof(VerificationOptions, debug.allow.undefinedString)}}, in RegisterConfigHandlerOptions() 119 …{"method-access-violation", BoolField {offsetof(VerificationOptions, debug.allow.methodAccessViola… in RegisterConfigHandlerOptions() [all …]
|
| /arkcompiler/runtime_core/panda_guard/configs/ |
| D | guard_args_parser.cpp | 24 PandArg<bool> debug("debug", false, in Parse() local 25 … "enable debug messages (will be printed to standard output if no --debug-file was specified)"); in Parse() 26 PandArg<std::string> debugFile("debug-file", "", in Parse() 27 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in Parse() 32 parser.Add(&debug); in Parse() 46 if (debug.GetValue()) { in Parse() 49 Logger::InitializeStdLogging(Logger::Level::DEBUG, component_mask); in Parse() 51 … Logger::InitializeFileLogging(debugFile.GetValue(), Logger::Level::DEBUG, component_mask); in Parse()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | humongous_obj_allocator-inl.h | 32 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Initializing HumongousObjAllocator"; in HumongousObjAllocator() 33 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Initializing HumongousObjAllocator finished"; in HumongousObjAllocator() 39 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Destroying HumongousObjAllocator"; in ~HumongousObjAllocator() 40 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Destroying HumongousObjAllocator finished"; 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() 66 … LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "The size is too big for this allocator. Return nullptr."; in Alloc() 73 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Find reserved memory block with size " << memHeader->GetPoo… in Alloc() 80 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Find free memory block with size " << memHeader->GetPoolSiz… in Alloc() 85 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Can't find memory for this size"; in Alloc() [all …]
|
| D | runslots_allocator-inl.h | 33 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Initializing RunSlotsAllocator"; in RunSlotsAllocator() 34 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Initializing RunSlotsAllocator finished"; in RunSlotsAllocator() 40 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Destroying RunSlotsAllocator"; in ~RunSlotsAllocator() 41 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Destroying RunSlotsAllocator finished"; in ~RunSlotsAllocator() 53 …LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Try to allocate " << size << " bytes of memory with align " << a… in Alloc() 55 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate - size of object is null"; in Alloc() 61 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Change size of allocation to " << alignmentSize in Alloc() 66 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate - size of object is too big"; in Alloc() 79 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "We don't have free RunSlots for size " << runSlotSize in Alloc() 90 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Get RunSlots from free list"; in Alloc() [all …]
|
| D | frame_allocator-inl.h | 37 LOG_FRAME_ALLOCATOR(DEBUG) << "Initializing of FrameAllocator"; in FrameAllocator() 45 LOG_FRAME_ALLOCATOR(DEBUG) << "Initializing of FrameAllocator finished"; in FrameAllocator() 51 LOG_FRAME_ALLOCATOR(DEBUG) << "Destroying of FrameAllocator"; in ~FrameAllocator() 53 LOG_FRAME_ALLOCATOR(DEBUG) << "Free arena at addr " << std::hex << lastAllocArena_; in ~FrameAllocator() 59 LOG_FRAME_ALLOCATOR(DEBUG) << "Destroying of FrameAllocator finished"; in ~FrameAllocator() 67 LOG_FRAME_ALLOCATOR(DEBUG) << "Try to allocate a new arena with size " << arenaSize; in TryAllocateNewArena() 70 LOG_FRAME_ALLOCATOR(DEBUG) << "Couldn't get memory for a new arena"; in TryAllocateNewArena() 78 …LOG_FRAME_ALLOCATOR(DEBUG) << "Successfully allocate new arena with addr " << std::hex << newArena; in TryAllocateNewArena() 90 …LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate " << size << " bytes for a new frame in current aren… in Alloc() 92 LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate a new arena, return nullptr"; in Alloc() [all …]
|
| /arkcompiler/runtime_core/disassembler/ |
| D | disasm.cpp | 34 LOG(DEBUG, DISASSEMBLER) << "[initializing disassembler]\nfile: " << input_file << "\n"; in Disassemble() 42 LOG(DEBUG, DISASSEMBLER) << "[serializing results]\n"; in Disassemble() 51 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &debug, in ProcessArgs() argument 73 if (debug.GetValue()) { in ProcessArgs() 76 panda::Logger::Level::DEBUG, log_mask); in ProcessArgs() 79 debug_file.GetValue(), panda::Logger::Level::DEBUG, log_mask); in ProcessArgs() 96 panda::PandArg<bool> debug( in main() local 97 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … in main() 98 panda::PandArg<std::string> debug_file("debug-file", "", in main() 99 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in main() [all …]
|
| /arkcompiler/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 * Secondly server accepts a real client and debug session begins 18 * It's critical for VSCode to have a debug server initialized at allocated time so we establish a t… 19 * We create a test client every 100 milliseconds to check is socket ready for a debug session 21 * If connection was not established at the allocated time the `Can not launch debug server` error w…
|
| /arkcompiler/ets_runtime/ecmascript/stackmap/llvm/ |
| D | llvm_stackmap_type.h | 58 LOG_COMPILER(DEBUG) << TypeToString(location); in Print() 59 LOG_COMPILER(DEBUG) << ", size:" << std::dec << locationSize; in Print() 60 LOG_COMPILER(DEBUG) << "\tDwarfRegNum:" << dwarfRegNum; in Print() 61 LOG_COMPILER(DEBUG) << "\t OffsetOrSmallConstant:" << offsetOrSmallConstant; in Print() 119 LOG_COMPILER(DEBUG) << "----- head ----"; in Print() 120 LOG_COMPILER(DEBUG) << " version:" << static_cast<int>(stackmapversion); in Print() 121 LOG_COMPILER(DEBUG) << "+++++ head ++++"; in Print() 132 LOG_COMPILER(DEBUG) << " functionAddress:0x" << std::hex << functionAddress; in Print() 133 LOG_COMPILER(DEBUG) << " stackSize:0x" << std::hex << stackSize; in Print() 134 LOG_COMPILER(DEBUG) << " recordCount:" << std::hex << recordCount; in Print() [all …]
|
| /arkcompiler/runtime_core/panda_guard/tests/unittest/ |
| D | guard_args_parser_test.cpp | 39 argv[1] = const_cast<char *>("--debug="); 48 …"--debug: enable debug messages (will be printed to standard output if no --debug-file was specifi… 49 "--debug-file: (--debug-file FILENAME) set debug file name. default is std::cout\n" 58 * @tc.desc: test panda_guard args parse with no debug file and config file args 69 argv[1] = const_cast<char *>("--debug"); 70 argv[2] = const_cast<char *>("--debug-file");
|
| /arkcompiler/runtime_core/abc2program/ |
| D | abc2program_options.cpp | 23 panda::PandArg<bool> debug( in Parse() local 24 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … in Parse() 25 panda::PandArg<std::string> debug_file("debug-file", "", in Parse() 26 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in Parse() 30 pa_parser_.Add(&debug); in Parse() 42 if (debug.GetValue()) { in Parse() 45 panda::Logger::Level::DEBUG, in Parse() 49 debug_file.GetValue(), panda::Logger::Level::DEBUG, in Parse()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/ |
| D | CMakeLists.txt | 97 add_ets_gc_test(FILE pin_object.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE … 98 add_ets_gc_test(FILE get_object_address_test.sts OPTIONS "--gc-trigger-type=debug-never" MODE "INT") 99 add_ets_gc_test(FILE space_type_test.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" … 100 add_ets_gc_test(FILE weak_ref_test.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MO… 101 add_ets_gc_test(FILE concurrent_start_gc.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-nev… 102 …_test.sts OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT") 103 …_test.sts OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT") 104 add_ets_gc_test(FILE scheduled_gc.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" "--… 105 …uled_gc_trigger_exception.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE "INT") 107 add_ets_gc_test(FILE postpone_gc_test.sts OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug" MODE … [all …]
|
| /arkcompiler/runtime_core/static_core/verification/config/ |
| D | config_load.cpp | 38 ark::verifier::debug::RegisterConfigHandlerBreakpoints(cfg); in ProcessConfigFile() 39 ark::verifier::debug::RegisterConfigHandlerWhitelist(cfg); in ProcessConfigFile() 40 ark::verifier::debug::RegisterConfigHandlerOptions(cfg); in ProcessConfigFile() 41 ark::verifier::debug::RegisterConfigHandlerMethodOptions(cfg); in ProcessConfigFile() 42 ark::verifier::debug::RegisterConfigHandlerMethodGroups(cfg); in ProcessConfigFile() 49 LOG(DEBUG, VERIFIER) << "Verifier debug configuration: \n" << section.Image(); in ProcessConfigFile() 50 ark::verifier::debug::SetDefaultMethodOptions(cfg); in ProcessConfigFile() 95 LOG(DEBUG, VERIFIER) << "Failed to load verifier debug config file '" << filename << "'"; in LoadConfig()
|
| /arkcompiler/runtime_core/static_core/abc2program/ |
| D | abc2program_options.cpp | 24 ark::PandArg<bool> debug( in Parse() local 25 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … in Parse() 26 ark::PandArg<std::string> debugFile("debug-file", "", in Parse() 27 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in Parse() 31 debugArg_ = &debug; in Parse() 36 paParser_.Add(&debug); in Parse() 58 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs() 61 ark::Logger::InitializeFileLogging(debugFileArg_->GetValue(), ark::Logger::Level::DEBUG, in ProcessArgs()
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | verification_options.cpp | 31 …debug.methodOptions = new (mem::AllocatorAdapter<MethodOptionsConfig>().allocate(1)) MethodOptions… in Initialize() 32 ASSERT(debug.methodOptions != nullptr); in Initialize() 37 if (debug.methodOptions != nullptr) { in Destroy() 38 debug.methodOptions->~MethodOptionsConfig(); in Destroy() 39 mem::AllocatorAdapter<MethodOptionsConfig>().deallocate(debug.methodOptions, 1); in Destroy() 41 debug.methodOptions = nullptr; in Destroy()
|
| /arkcompiler/runtime_core/libabckit/tests/stress/ |
| D | runner.py | 38 logger.debug('Initializing stress tests...') 39 logger.debug(f'Runner args: {args}') 53 logger.debug('Running stress tests...') 56 logger.debug(f'Running {test.__class__.__name__} test suite...') 69 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results)) 78 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results)) 80 logger.debug('No regressions') 81 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results))
|
| /arkcompiler/runtime_core/static_core/disassembler/ |
| D | disasm.cpp | 33 ark::PandArg<bool> debug { member 34 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … 35 ark::PandArg<std::string> debugFile {"debug-file", "", 36 … "(--debug-file FILENAME) set debug file name. default is std::cout"}; 49 paParser.Add(&debug); in Options() 71 LOG(DEBUG, DISASSEMBLER) << "[initializing disassembler]\nfile: " << inputFile << "\n"; in Disassemble() 84 LOG(DEBUG, DISASSEMBLER) << "[serializing results]\n"; in Disassemble() 110 if (options.debug.GetValue()) { in ProcessArgs() 113 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs() 116 ark::Logger::InitializeFileLogging(debugFile, ark::Logger::Level::DEBUG, in ProcessArgs()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/ |
| D | crossing_map.cpp | 33 LOG_CROSSING_MAP(DEBUG) << "Create CrossingMap with start_addr 0x" << std::hex << startAddr_; in CrossingMap() 69 …LOG_CROSSING_MAP(DEBUG) << "Try to AddObject with addr " << std::hex << objAddr << " and size " <<… in AddObject() 76 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject() 81 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject() 87 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject() 95 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject() 120 …LOG_CROSSING_MAP(DEBUG) << "AddObject - set CROSSED_BORDER to map num " << i << " with offset " <<… in UpdateCrossedBorderOnAdding() 141 …LOG_CROSSING_MAP(DEBUG) << "AddObject - set CROSSED_BORDER or INITIALIZED_AND_CROSSED_BORDERS to f… in UpdateCrossedBorderOnAdding() 148 …LOG_CROSSING_MAP(DEBUG) << "Try to RemoveObject with addr " << std::hex << objAddr << " and size "… in RemoveObject() 160 … LOG_CROSSING_MAP(DEBUG) << "RemoveObject - it is the first object in map num " << firstMapNum in RemoveObject() [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/scenarios/api_scanner/dynamic/ |
| D | api_scanner.cpp | 151 LIBABCKIT_LOG(DEBUG) << LEFT_BRACKET << std::endl; in ApiUsageMapGetString() 153 LIBABCKIT_LOG(DEBUG) << INDENT_1 << LEFT_BRACKET << std::endl; in ApiUsageMapGetString() 159 LIBABCKIT_LOG(DEBUG) << INDENT_2 << APIINFO << COLON << LEFT_BRACKET << std::endl; in ApiUsageMapGetString() 160 …LIBABCKIT_LOG(DEBUG) << INDENT_3 << APIINFO_SOURCE << COLON << GetQuatatedStr(apiInfo.source) << C… in ApiUsageMapGetString() 162 …LIBABCKIT_LOG(DEBUG) << INDENT_3 << APIINFO_OBJNAME << COLON << GetQuatatedStr(apiInfo.objName) <<… in ApiUsageMapGetString() 164 …LIBABCKIT_LOG(DEBUG) << INDENT_3 << APIINFO_PROPNAME << COLON << GetQuatatedStr(apiInfo.propName) … in ApiUsageMapGetString() 166 LIBABCKIT_LOG(DEBUG) << INDENT_2 << RIGHT_BRACKET << COMMA << std::endl; in ApiUsageMapGetString() 168 LIBABCKIT_LOG(DEBUG) << INDENT_2 << USAGES << COLON << LEFT_BRACKET << std::endl; in ApiUsageMapGetString() 170 LIBABCKIT_LOG(DEBUG) << INDENT_3 << LEFT_BRACKET << std::endl; in ApiUsageMapGetString() 171 …LIBABCKIT_LOG(DEBUG) << INDENT_4 << USAGES_SOURCE << COLON << GetQuatatedStr(usage.source) << COMMA in ApiUsageMapGetString() [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/clean_scenarios/ |
| D | README.md | 28 # Run tests with debug output 29 If you want to see the debug messages about test: 32 ./ark.py x64.debug abckit_clean_scenario_tests --gn-args="is_standard_system=true abckit_enable=tru… 34 and run tests from `out/x64.debug` 36 To turn off the debug messages:
|
| /arkcompiler/runtime_core/static_core/runtime/coroutines/ |
| D | threaded_coroutine_manager.cpp | 36 … LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager(): setting number of coroutine workers to " in Initialize() 40 …LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager(): setting number of coroutine workers to CPU … in Initialize() 108 LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::TerminateCoroutine() started"; in TerminateCoroutine() 152 // NOTE(konstanting): issue debug notifications to runtime in TerminateCoroutine() 158 LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::Launch started"; in Launch() 165 LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::Launch finished"; in Launch() 178 …LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::RegisterAsAwaitee: " << waiter->GetName() << … in RegisterWaiter() 186 LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::Await started"; in Await() 195 LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::Await finished (no await happened)"; in Await() 208 LOG(DEBUG, COROUTINES) << "ThreadedCoroutineManager::Await finished"; in Await() [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/generator/ |
| D | test_case.rb | 25 LOG.debug "TestCase created with '#{command}' '#{current_case}' '#{instruction}'" 83 LOG.debug 'Case has own template, use it' 86 LOG.debug 'Use main template for current tests' 91 LOG.debug "substitute values: #{@current_case[Generator::CASE_VALUES]}" 95 LOG.debug "Parse -#{val}-" 99 LOG.debug "'#{single_line}' evaluate" 104 LOG.debug "'#{str}'' repeat #{num} times" 107 LOG.debug "simple value `#{single_line}`" 135 LOG.debug 'No values to substitute' 142 # LOG.debug "case checking type is #{case_check_type}"
|