Home
last modified time | relevance | path

Searched +full:- +full:- +full:stacktrace (Results 1 – 25 of 882) sorted by relevance

12345678910>>...36

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DStackTraceRecovery.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
35 …// No unwrapping on continuation-less path: exception is not reported multiple times via slow paths in recoverStackTrace()
41 val stackTrace = stackTrace in sanitizeStackTrace() constant
42 val size = stackTrace.size in sanitizeStackTrace()
43 val lastIntrinsic = stackTrace.indexOfLast { stackTraceRecoveryClassName == it.className } in sanitizeStackTrace()
45 val endIndex = stackTrace.firstFrameIndex(baseContinuationImplClassName) in sanitizeStackTrace()
46 val adjustment = if (endIndex == -1) 0 else size - endIndex in sanitizeStackTrace()
47 val trace = Array(size - lastIntrinsic - adjustment) { in sanitizeStackTrace()
51 stackTrace[startIndex + it - 1] in sanitizeStackTrace()
67 * Here we are checking whether exception has already recovered stacktrace. in recoverFromStackFrame()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cc1 //===-- sanitizer_stackdepot_test.cc --------------------------------------===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
22 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
24 StackTrace stack = StackDepotGet(i1); in TEST()
31 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST()
36 u32 i1 = StackDepotPut(StackTrace()); in TEST()
37 StackTrace stack = StackDepotGet(i1); in TEST()
42 StackTrace stack = StackDepotGet(0); in TEST()
48 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-stacktrace.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test stacktrace-trigger
11 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger`
12 if [ -z "$FEATURE" ]; then
13 echo "stacktrace trigger is not supported"
17 echo "Test stacktrace trigger"
19 echo 0 > options/stacktrace
20 echo 'stacktrace' > events/sched/sched_process_fork/trigger
23 fail "stacktrace trigger on sched_process_fork did not work"
27 echo "Test stacktrace semantic errors"
[all …]
/external/tensorflow/tensorflow/python/util/
Dstack_trace.h7 http://www.apache.org/licenses/LICENSE-2.0
47 class StackTrace final {
51 StackTrace() {} in StackTrace() function
53 // Returns `StackTrace` object that captures the current Python stack trace.
54 // `limit` determines how many stack frames at most are returned: set to -1
59 static StackTrace Capture(int limit) { in Capture()
61 if (limit == -1) limit = std::numeric_limits<int>::max(); in Capture()
63 StackTrace result; in Capture()
64 const PyFrameObject* frame = PyThreadState_GET()->frame; in Capture()
66 for (; i < limit && frame != nullptr; frame = frame->f_back, ++i) { in Capture()
[all …]
/external/kotlinx.coroutines/docs/topics/
Ddebugging.md3 <!--- TOC -->
5 * [Debugging coroutines](#debugging-coroutines)
6 * [Debug mode](#debug-mode)
7 * [Stacktrace recovery](#stacktrace-recovery)
8 * [Stacktrace recovery machinery](#stacktrace-recovery-machinery)
9 * [Debug agent](#debug-agent)
10 * [Android optimization](#android-optimization)
12 <!--- END -->
17 …`kotlinx.coroutines` comes with additional features for debugging: debug mode, stacktrace recovery
23 …ting system property [DEBUG_PROPERTY_NAME] or by running Java with enabled assertions (`-ea` flag).
[all …]
/external/cronet/base/debug/
Dstack_trace_nacl.cc2 // Use of this source code is governed by a BSD-style license that can be
10 StackTrace::StackTrace() = default;
11 StackTrace::StackTrace(size_t count) : StackTrace() {} in StackTrace() function in base::debug::StackTrace
12 StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {} in StackTrace() function in base::debug::StackTrace
14 const void* const* StackTrace::Addresses(size_t* count) const { in Addresses()
18 void StackTrace::Print() const {} in Print()
20 void StackTrace::OutputToStream(std::ostream* os) const {} in OutputToStream()
22 std::string StackTrace::ToString() const { in ToString()
26 std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const { in ToStringWithPrefix()
30 std::ostream& operator<<(std::ostream& os, const StackTrace& s) { in operator <<()
Dstack_trace.cc2 // Use of this source code is governed by a BSD-style license that can be
17 #include "third_party/abseil-cpp/absl/types/optional.h"
45 // https://llvm.org/bugs/show_bug.cgi?id=18505 - LLVM generates
46 // x86-compatible frame, while GCC needs adjustment.
52 // On Arm-v8.3+ systems with pointer authentication codes (PAC), signature bits
60 // in the HINT space and treated as a no-op on older Arm cores (unlike the in StripPointerAuthenticationBits()
68 // No-op on other platforms. in StripPointerAuthenticationBits()
76 return fp_addr[0] - kStackFrameAdjustment; in GetNextStackFrame()
91 if (fp - prev_fp > 100000) return false; in IsStackFrameValid()
94 if (fp & (sizeof(uintptr_t) - 1)) return false; in IsStackFrameValid()
[all …]
Dstack_trace.h2 // Use of this source code is governed by a BSD-style license that can be
35 // unit_tests only! This is not thread-safe: only call from main thread.
39 // contents. In non-official builds, this function also opens the object files
45 // Sets a first-chance callback for the stack dump signal handler. This callback
47 // signals, like out-of-bounds memory accesses in WebAssembly (WebAssembly Trap
62 // A stacktrace can be helpful in debugging. For example, you can include a
63 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
65 class BASE_EXPORT StackTrace {
67 // Creates a stacktrace from the current location.
68 StackTrace();
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/
DDebugProbesImpl.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
36 * "isInstalled$kotlinx_coroutines_debug" and must be kept binary-compatible, see KTIJ-24102 in <lambda>()
49 …* If the agent was installed via command line -javaagent parameter, do not use byte-buddy to avoid… in <lambda>()
61 …* Because `probeCoroutinesResumed` is called for every resumed continuation (see KT-29997 and the … in <lambda>()
63 …* Imagine a suspending call stack a()->b()->c(), where c() completes its execution and every call … in <lambda>()
66 …* Then at least three RUNNING -> RUNNING transitions will occur consecutively, the complexity of e… in <lambda>()
117 if (info == null) { // Append coroutine without stacktrace in <lambda>()
127 // Append coroutine with its last stacktrace element in <lambda>()
143 * Private method that dumps coroutines so that different public-facing method can use in <lambda>()
146 …> dumpCoroutinesInfoImpl(crossinline create: (CoroutineOwner<*>, CoroutineContext) -> R): List<R> { in <lambda>()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h1 //===-- sanitizer_stacktrace.h ----------------------------------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
11 // run-time libraries.
12 //===----------------------------------------------------------------------===//
39 struct StackTrace { struct
49 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument
50 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() function
51 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() argument
54 // Prints a symbolized stacktrace, followed by an empty line.
72 // Performance-critical, must be in the header.
[all …]
/external/libchrome/base/debug/
Dstack_trace.h2 // Use of this source code is governed by a BSD-style license that can be
32 // unit_tests only! This is not thread-safe: only call from main thread.
36 // contents. In non-official builds, this function also opens the object files
52 // A stacktrace can be helpful in debugging. For example, you can include a
53 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
55 class BASE_EXPORT StackTrace {
57 // Creates a stacktrace from the current location.
58 StackTrace();
60 // Creates a stacktrace from the current location, of up to |count| entries.
62 explicit StackTrace(size_t count);
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DFailureLogMessage.java8 * http://www.apache.org/licenses/LICENSE-2.0
31 private final String stackTrace; field in FailureLogMessage
37 public FailureLogMessage(String stackTrace) { in FailureLogMessage() argument
38 this.stackTrace = checkNotNull(stackTrace); in FailureLogMessage()
41 public String stackTrace() { in stackTrace() method in FailureLogMessage
42 return stackTrace; in stackTrace()
52 return stackTrace.hashCode(); in hashCode()
61 return this.stackTrace.equals(that.stackTrace); in equals()
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/exception/
DMacroOverflowException.java12 * http://www.apache.org/licenses/LICENSE-2.0
23 * Application-level exception thrown when macro calls within macro calls
55 * @param stacktrace VTL stacktrace
58 …verflowException(final String exceptionMessage, final Throwable wrapped, final String[] stacktrace) in MacroOverflowException() argument
60 super(exceptionMessage, wrapped, stacktrace); in MacroOverflowException()
73 * @param stacktrace VTL stacktrace
76 public MacroOverflowException(final Throwable wrapped, final String[] stacktrace) in MacroOverflowException() argument
78 super(wrapped, stacktrace); in MacroOverflowException()
DResourceNotFoundException.java12 * http://www.apache.org/licenses/LICENSE-2.0
23 * Application-level exception thrown when a resource of any type
39 private static final long serialVersionUID = -4287732191458420347L;
64 * @param stacktrace VTL stacktrace
68 …ourceNotFoundException(final String exceptionMessage, final Throwable t, final String[] stacktrace) in ResourceNotFoundException() argument
70 super(exceptionMessage, t, stacktrace); in ResourceNotFoundException()
85 * @param stacktrace VTL stacktrace
89 public ResourceNotFoundException(final Throwable t, String[] stacktrace) in ResourceNotFoundException() argument
91 super(t, stacktrace); in ResourceNotFoundException()
/external/antlr/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg38 CANNOT_WRITE_FILE(arg,exception,stackTrace) ::= <<
40 <stackTrace; separator="\n">
42 CANNOT_CLOSE_FILE(arg,exception,stackTrace) ::= "cannot close file <arg>: <exception>"
44 ERROR_READING_TOKENS_FILE(arg,exception,stackTrace) ::= <<
46 <stackTrace; separator="\n">
48 DIR_NOT_FOUND(arg,exception,stackTrace) ::= "directory not found: <arg>"
49 OUTPUT_DIR_IS_FILE(arg,exception,stackTrace) ::= "output directory is a file: <arg>"
50 CANNOT_OPEN_FILE(arg,exception,stackTrace) ::= "cannot find or open file: <arg><if(exception)>; rea…
53 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
55 <stackTrace; separator="\n">
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs3 Copyright (c) 2005-2007 Kunle Odutola
39 using StackTrace = System.Diagnostics.StackTrace; typedef
69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
71 for (; i < stackTrace.FrameCount; i++) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
95 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
97 <stackTrace; separator="\n">
/external/llvm/lib/Support/Unix/
DSignals.inc1 //===- Signals.cpp - Generic Unix Signals Implementation -----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
66 /// InterruptFunction - The function to call if ctrl-c is pressed.
73 // IntSigs - Signals that represent requested termination. There's no bug
80 // KillSigs - Signals that represent that we have a bug, and our prompt
178 /// RemoveFilesToRemove - Process the FilesToRemove list. This function
202 // super-user permissions.
212 // SignalHandler - The signal handler that runs.
252 // re-raising the signal. Raise the signal manually in those cases.
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc1 //===- Signals.cpp - Generic Unix Signals Implementation -----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
64 /// InterruptFunction - The function to call if ctrl-c is pressed.
71 // IntSigs - Signals that represent requested termination. There's no bug
78 // KillSigs - Signals that represent that we have a bug, and our prompt
178 /// RemoveFilesToRemove - Process the FilesToRemove list. This function
202 // super-user permissions.
212 // SignalHandler - The signal handler that runs.
252 // re-raising the signal. Raise the signal manually in those cases.
[all …]
/external/cronet/third_party/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]
/external/angle/third_party/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DStackTraceRecovery.common.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
10 * Tries to recover stacktrace for given [exception] and [continuation].
11 …* Stacktrace recovery tries to restore [continuation] stack frames using its debug metadata with […
13 * sets new stacktrace for wrapping exception.
14 * Some frames may be missing due to tail-call elimination.
16 * Works only on JVM with enabled debug-mode.
27 * Tries to recover stacktrace for given [exception]. Used in non-suspendable points of awaiting. in recoverStackTrace()
28 …* Stacktrace recovery tries to instantiate exception of given type with original exception as a ca… in recoverStackTrace()
29 * Wrapping exception will have proper stacktrace as it's instantiated in the right context. in recoverStackTrace()
31 * Works only on JVM with enabled debug-mode. in recoverStackTrace()
[all …]
/external/gwp_asan/gwp_asan/optional/
Dbacktrace_sanitizer_common.cpp1 //===-- backtrace_sanitizer_common.cpp --------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 if (!StackTrace::WillUseFastUnwind(request_fast)) in UnwindImpl()
50 UseFastUnwind, Size - 1); in BacktraceCommon()
66 __sanitizer::StackTrace StackTrace; in PrintBacktrace() local
67 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace()
68 StackTrace.size = TraceLength; in PrintBacktrace()
70 if (StackTrace.size == 0) { in PrintBacktrace()
76 StackTrace.PrintTo(&buffer); in PrintBacktrace()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java8 * http://www.apache.org/licenses/LICENSE-2.0
77 return CharStreams.toString(new InputStreamReader(stream, "UTF-8")); in getToken()
84 String url = "https://api.github.com/repos/JesusFreke/smalidea-issues/issues"; in sendFeedback()
99 httpURLConnection.setRequestProperty("User-Agent", userAgent); in sendFeedback()
100 httpURLConnection.setRequestProperty("Content-Type", "application/json"); in sendFeedback()
124 result.put("title", "[auto-generated] Crash in plugin"); in convertToGithubIssueFormat()
127 return ((new Gson()).toJson(result)).getBytes(Charset.forName("UTF-8")); in convertToGithubIssueFormat()
143 String stackTrace = body.get("error.stacktrace"); in generateGithubIssueBody() local
144 if (stackTrace == null || stackTrace.isEmpty()) { in generateGithubIssueBody()
145 stackTrace = "invalid stacktrace"; in generateGithubIssueBody()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]

12345678910>>...36