| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | logger_test.cpp | 43 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 55 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); 58 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 77 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); 80 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 91 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); 101 Logger::InitializeStdLogging(Logger::Level::FATAL, component_mask); 102 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); 103 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); 104 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | logger_test.cpp | 35 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 47 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in DEATH_TEST() 50 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 69 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); in DEATH_TEST() 72 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 83 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in DEATH_TEST() 93 Logger::InitializeStdLogging(Logger::Level::FATAL, componentMask); in DEATH_TEST() 94 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in DEATH_TEST() 95 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in DEATH_TEST() 96 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); in DEATH_TEST() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | native_area_allocator.cpp | 29 LOG_ECMA_MEM(FATAL) << "capacity must have a size not less than sizeof Area."; in AllocateArea() 40 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << capacity in AllocateArea() 46 LOG_FULL(FATAL) << "memset_s failed"; in AllocateArea() 70 LOG_FULL(FATAL) << "memset_s failed"; in FreeArea() 86 LOG_FULL(FATAL) << "memset_s failed"; in Free() 97 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer() 103 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << size in AllocateBuffer() 109 LOG_FULL(FATAL) << "memset_s failed"; in AllocateBuffer() 127 LOG_FULL(FATAL) << "memset_s failed"; in FreeBuffer() 138 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in NativeAreaPageMap() [all …]
|
| D | heap_region_allocator.cpp | 33 LOG_ECMA_MEM(FATAL) << "capacity must have a size bigger than 0"; in AllocateAlignedRegion() 65 LOG_ECMA_MEM(FATAL) << "pool is empty in GC unexpectedly"; in AllocateAlignedRegion() 75 … LOG_ECMA_MEM(FATAL) << "pool is empty " << annoMemoryUsage_.load(std::memory_order_relaxed); in AllocateAlignedRegion() 81 LOG_FULL(FATAL) << "memset_s failed"; in AllocateAlignedRegion() 89 …LOG_ECMA_IF(AlignUp(mem, PANDA_POOL_ALIGNMENT_IN_BYTES) != mem, FATAL) << "region not align by 256… in AllocateAlignedRegion() 120 … LOG_ECMA_MEM(FATAL) << "Failed to clear the MAP_JIT flag for the huge machine code space."; in FreeRegion() 125 LOG_FULL(FATAL) << "memset_s failed"; in FreeRegion() 135 // Make MemMapAllocator infinite, and record to Dump&Fatal when GC completed. in TemporarilyEnsureAllocateionAlwaysSuccess()
|
| D | chunk.cpp | 27 LOG_ECMA_MEM(FATAL) << "OOM Chunk : NewArea area is nullptr"; in NewArea() 57 LOG_ECMA_MEM(FATAL) << "OOM chunk : newSize is "<< newSize << ", size is " << size; in Expand() 63 LOG_ECMA_MEM(FATAL) << "OOM chunk : NewArea area is nullptr"; in Expand()
|
| D | parallel_marker.h | 43 LOG_GC(FATAL) << "can not call this method"; in MarkJitCodeMap() 48 LOG_GC(FATAL) << "can not call this method"; in ProcessMarkStack() 54 LOG_GC(FATAL) << "can not call this method"; in ProcessIncrementalMarkStack()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
| D | binary_buffer_parser.cpp | 23 LOG_FULL(FATAL) << "memcpy_s failed"; in ParseBuffer() 27 LOG_FULL(FATAL) << "parse buffer error, length is 0 or overflow"; in ParseBuffer() 41 LOG_FULL(FATAL) << "memcpy_s failed"; in ParseBuffer() 44 LOG_FULL(FATAL) << "parse buffer error, length is 0 or overflow"; in ParseBuffer()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/napi_impl/ |
| D | napi_impl.cpp | 32 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_wrap_with_xref() 40 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_xref_unwrap() 49 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_create_xref() 57 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_mark_from_object() 65 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_is_alive_object() 73 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_is_contain_object() 81 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_is_xref_type() 116 …INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ << " will be implemented in OHOS 5.… in napi_fatal_exception() 135 INTEROP_LOG(FATAL) << "ETS_INTEROP_GTEST_PLUGIN: " << __func__ in napi_get_value_string_utf16()
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | signal.h | 34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; 45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() 50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() 56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist() 62 …LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask fa… in Block() 67 …LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask … in Unblock() 73 … LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) != 0, FATAL, COMMON) << "sigwait failed"; in Wait() 79 …LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) != 0, FATAL, COMMON) << "pthread_sigm… in GetCurrent()
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | signal.h | 34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; 45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() 50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() 56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist() 62 …LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask f… in Block() 67 …LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask… in Unblock() 73 … LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) == -1, FATAL, COMMON) << "sigwait failed"; in Wait() 79 …LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) == -1, FATAL, COMMON) << "pthread_sig… in GetCurrent()
|
| /arkcompiler/runtime_core/libabckit/src/ |
| D | logger.h | 83 …enum LogLevel { DEBUG = 1, WARNING, ERROR, FATAL, UNIMPLEMENTED, IMPLEMENTED, UNKNOWN, INCORRECT_L… enumerator 90 {"FATAL", LogLevel::FATAL}, 140 return (level == LogLevel::FATAL || level == LogLevel::ERROR); in CheckIfPermissible() 218 if (levelName == "FATAL") { in Message() 219 std::cout << "FATAL: " << LIBABCKIT_FUNC_NAME << '\n'; in Message() 220 // CC-OFFNXT(G.FUU.08) fatal in Message() 221 // CC-OFFNXT(G.STD.16) fatal error in Message() 292 abort() // CC-OFF(G.STD.16) fatal error 299 abort() // CC-OFF(G.STD.16) fatal error 316 abort() // CC-OFF(G.STD.16) fatal error
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | monitor_object_lock.cpp | 34 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in Wait() 41 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in TimedWait() 48 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::Notify() failed"; in Notify() 54 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::NotifyAll() failed"; in NotifyAll()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/standalone_function/ets_to_js/ |
| D | arg_type.cpp | 90 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design. 101 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design. 112 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design. 123 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design. 135 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design. 158 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design. 179 // NOTE (nikitayegorov) Negative test, causes InteropCtx::Fatal by design.
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_collator_stub_builder.cpp | 124 Label fatal(env); in UsageOptionsToEcmaString() local 133 …NCH_NO_WEIGHT(Int32Equal(usage, Int32(static_cast<int32_t>(UsageOption::SEARCH))), &search, &fatal) in UsageOptionsToEcmaString() 139 Bind(&fatal); in UsageOptionsToEcmaString() 160 Label fatal(env); in SensitivityOptionsToEcmaString() local 163 …Switch(ZExtInt32ToInt64(sensitivity), &fatal, SensitivityOptionCases, labels, SENSITIVITY_OPTION_C… in SensitivityOptionsToEcmaString() 175 Bind(&fatal); in SensitivityOptionsToEcmaString() 194 Label fatal(env); in CaseFirstOptionsToEcmaString() local 197 …Switch(ZExtInt32ToInt64(sensitivity), &fatal, CaseFirstOptionCases, labels, CASE_FIRST_OPTION_NUM); in CaseFirstOptionsToEcmaString() 205 Bind(&fatal); in CaseFirstOptionsToEcmaString()
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
| D | mutex.cpp | 110 LOG(FATAL, COMMON) << "RWLock destruction failed; state_ is non zero!"; in ~RWLock() 113 LOG(FATAL, COMMON) << "RWLock destruction failed; RWLock has an owner!"; in ~RWLock() 116 LOG(FATAL, COMMON) << "RWLock destruction failed; RWLock has waiters!"; in ~RWLock() 150 LOG(FATAL, COMMON) << "Futex wait failed!"; in WriteLock() 180 LOG(FATAL, COMMON) << "Futex wait failed!"; in HandleReadLockWait() 267 … LOG(FATAL, COMMON) << "RWLock WriteUnlock got unexpected state, RWLock is not writelocked?"; in WriteUnlock() 279 LOG(FATAL, COMMON) << "CondVar destruction failed; waiters_ is non zero!"; in ~ConditionVariable() 294 LOG(FATAL, COMMON) << "CondVar Wait failed; provided mutex is not held by current thread"; in Wait() 303 LOG(FATAL, COMMON) << "CondVar Wait failed; mutex_ptr_ doesn't equal to provided mutex"; in Wait() 318 LOG(FATAL, COMMON) << "Futex wait failed!"; in Wait() [all …]
|
| /arkcompiler/ets_runtime/common_components/heap/collector/ |
| D | task_queue.cpp | 37 LOG_COMMON(FATAL) << "Don't know how to dump heap"; in Execute() 42 LOG_COMMON(FATAL) << "Don't know how to dump heap OOM"; in Execute() 48 LOG_COMMON(FATAL) << "Don't know how to dump heap OOM"; in Execute()
|
| D | collector.h | 70 LOG_COMMON(FATAL) << "Unresolved fatal"; in GetGCStats() 105 LOG_COMMON(FATAL) << "Unresolved fatal"; in RequestGCInternal()
|
| /arkcompiler/ets_runtime/common_components/log/ |
| D | log.cpp | 43 level = Level::FATAL; in ConvertToLevel() 86 case LOG_LEVEL::FATAL: //LCOV_EXCL_BR_LINE in ConvertFromRuntime() 87 logLevel = Level::FATAL; in ConvertFromRuntime() 111 case Level::FATAL: //LCOV_EXCL_BR_LINE in LevelToString() 112 logLevel = "fatal"; in LevelToString() 141 case panda::Logger::PandaLog2MobileLog::FATAL: //LCOV_EXCL_BR_LINE in PrintLogger() 142 LOG_COMMON(FATAL) << message; in PrintLogger() 198 PUBLIC_API AndroidLog<Level::FATAL>::~AndroidLog() in ~AndroidLog()
|
| /arkcompiler/ets_runtime/ecmascript/shared_mm/ |
| D | shared_mm.cpp | 82 LOG_ECMA_MEM(FATAL) << "size must have a size bigger than 0"; in AllocateBuffer() 86 LOG_ECMA_MEM(FATAL) << "size must be less than the maximum"; in AllocateBuffer() 92 LOG_ECMA_MEM(FATAL) << "malloc failed"; in AllocateBuffer() 97 LOG_ECMA_MEM(FATAL) << "memset failed"; in AllocateBuffer()
|
| /arkcompiler/runtime_core/static_core/dprof/daemon/ |
| D | main.cpp | 216 PLOG_IF(::memset_s(&sa, sizeof(sa), 0, sizeof(sa)) != 0, FATAL, DPROF) << "memset_s failed"; in SetupSignals() 218 PLOG_IF(::sigemptyset(&sa.sa_mask) == -1, FATAL, DPROF) << "sigemptyset() failed"; in SetupSignals() 220 PLOG_IF(::sigaction(SIGINT, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGINT) failed"; in SetupSignals() 221 PLOG_IF(::sigaction(SIGHUP, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGHUP) failed"; in SetupSignals() 222 PLOG_IF(::sigaction(SIGTERM, &sa, nullptr) == -1, FATAL, DPROF) << "sigaction(SIGTERM) failed"; in SetupSignals() 242 LOG(FATAL, DPROF) << "Cannot init storage"; in Main() 249 LOG(FATAL, DPROF) << "Cannot create socket"; in Main() 264 PLOG(FATAL, DPROF) << "accept() failed"; in Main()
|
| /arkcompiler/runtime_core/static_core/libpandabase/ |
| D | options.yaml | 31 - fatal 118 - name: log-fatal 123 description: Enable fatal logs from specified components
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | options.yaml | 31 - fatal 114 - name: log-fatal 119 description: Enable fatal logs from specified components
|
| /arkcompiler/runtime_core/scripts/ |
| D | install-deps-ubuntu | 91 echo "FATAL: Dependency list $fname not found." 130 echo "FATAL: Parameter --install=dev excludes --install=arm-dev" 147 echo "FATAL: Parameter --install=arm-dev excludes --install=dev" 179 echo "FATAL: Please run as root." 191 echo "FATAL: /etc/os-release not found. Exiting..." 210 echo "FATAL: Only Ubuntu is supported. This is not. Exiting..."
|
| /arkcompiler/runtime_core/static_core/irtoc/backend/ |
| D | dwarf_builder.cpp | 69 LOG(FATAL, COMPILER) << "Dwarf initialization failed: " << dwarf_errmsg(error); in DwarfBuilder() 74 LOG(FATAL, COMPILER) << "dwarf_pro_set_default_string_form failed: " << dwarf_errmsg(error); in DwarfBuilder() 79 LOG(FATAL, COMPILER) << "dwarf_new_die failed: " << dwarf_errmsg(error); in DwarfBuilder() 84 LOG(FATAL, COMPILER) << "dwarf_add_AT_producer failed: " << dwarf_errmsg(error); in DwarfBuilder() 89 LOG(FATAL, COMPILER) << "dwarf_add_die_to_debug_a failed: " << dwarf_errmsg(error); in DwarfBuilder() 96 LOG(FATAL, COMPILER) << "DW_AT_language failed: " << dwarf_errmsg(error); in DwarfBuilder() 108 LOG(FATAL, COMPILER) << "dwarf_lne_set_address failed: " << dwarf_errmsg(error); in BuildGraphNestedFunction() 273 LOG(FATAL, COMPILER) << "dwarf_add_file_decl failed: " << dwarf_errmsg(error); in AddFile() 287 LOG(FATAL, COMPILER) << "dwarf_add_file_decl failed: " << dwarf_errmsg(error); in AddDir()
|
| /arkcompiler/runtime_core/static_core/compiler/tools/paoc/ |
| D | paoc_clusters.h | 68 LOG_PAOC_CLUSTERS(FATAL) << "Can't find `" << CLUSTERS_OBJ_NAME << "` object"; in InitClusters() 78 LOG_PAOC_CLUSTERS(FATAL) << "Can't find a cluster (idx = " << idx << ")"; in InitClusters() 89 LOG_PAOC_CLUSTERS(FATAL) << "Can't find option's value (cluster `" in InitClusters() 95 LOG_PAOC_CLUSTERS(FATAL) << "Unknown option: `" << optionName << "`"; in InitClusters() 107 LOG_PAOC_CLUSTERS(FATAL) << "Can't find `" << CLUSTERS_MAP_OBJ_NAME << "` object"; in InitClustersMap() 118 … LOG_PAOC_CLUSTERS(FATAL) << "Can't get clusters array for method `" << methodName << "`"; in InitClustersMap() 134 … LOG_PAOC_CLUSTERS(FATAL) << "Incorrect reference to a cluster for `" << methodName << "`"; in InitClustersMap() 138 … LOG_PAOC_CLUSTERS(FATAL) << "Cluster's index out of range for `" << methodName << "`"; in InitClustersMap()
|