/external/rust/crates/thiserror/tests/ |
D | test_backtrace.rs | 1 #![cfg_attr(thiserror_nightly_testing, feature(backtrace))] 12 use std::backtrace::Backtrace; 20 backtrace: Backtrace, field 26 #[backtrace] 27 backtrace: Backtrace, field 33 #[backtrace] 34 backtrace: Option<Backtrace>, field 40 #[backtrace] 41 backtrace: Arc<Backtrace>, field 49 #[backtrace] [all …]
|
D | test_option.rs | 1 #![cfg_attr(thiserror_nightly_testing, feature(backtrace))] 6 use std::backtrace::Backtrace; 21 backtrace: Backtrace, field 27 #[backtrace] 28 backtrace: Option<Backtrace>, field 35 #[backtrace] 36 backtrace: Option<Backtrace>, field 44 #[backtrace] 45 backtrace: Option<Backtrace>, field 51 use std::backtrace::Backtrace; [all …]
|
/external/mesa3d/src/util/ |
D | u_debug_stack_android.cpp | 50 debug_backtrace_capture(debug_stack_frame *backtrace, in debug_backtrace_capture() argument 63 backtrace[i].procname = NULL; in debug_backtrace_capture() 75 backtrace[i].procname = intern_symbol(frame->func_name.c_str()); in debug_backtrace_capture() 76 backtrace[i].start_ip = frame->pc; in debug_backtrace_capture() 77 backtrace[i].off = frame->func_offset; in debug_backtrace_capture() 78 backtrace[i].map = intern_symbol(frame->map.Name().c_str()); in debug_backtrace_capture() 79 backtrace[i].map_off = frame->rel_pc; in debug_backtrace_capture() 81 backtrace[i].procname = NULL; in debug_backtrace_capture() 91 debug_backtrace_dump(const debug_stack_frame *backtrace, in debug_backtrace_dump() argument 95 if (backtrace[i].procname) in debug_backtrace_dump() [all …]
|
D | u_debug_stack.c | 88 debug_backtrace_capture(struct debug_stack_frame *backtrace, in debug_backtrace_capture() argument 111 backtrace[i].start_ip = pip.start_ip; in debug_backtrace_capture() 112 backtrace[i].off = ip - pip.start_ip; in debug_backtrace_capture() 113 backtrace[i].procname = symbol_name_cached(&cursor, &pip); in debug_backtrace_capture() 119 backtrace[i].start_ip = 0; in debug_backtrace_capture() 148 debug_backtrace_dump(const struct debug_stack_frame *backtrace, in debug_backtrace_dump() argument 155 if (!backtrace[i].start_ip) in debug_backtrace_dump() 157 filename = frame_info(&backtrace[i], &offset); in debug_backtrace_dump() 159 backtrace[i].procname, backtrace[i].off, in debug_backtrace_dump() 160 frame_ip(&backtrace[i])); in debug_backtrace_dump() [all …]
|
D | u_debug_stack_test.cpp | 33 struct debug_stack_frame backtrace[16]; in func_a() local 36 debug_backtrace_capture(backtrace, 0, 16); in func_a() 37 debug_backtrace_dump(backtrace, 16); in func_a() 43 struct debug_stack_frame backtrace[16]; in func_b() local 48 debug_backtrace_capture(backtrace, 0, 16); in func_b() 49 debug_backtrace_dump(backtrace, 16); in func_b() 60 struct debug_stack_frame backtrace[16]; in TEST() local 66 debug_backtrace_capture(backtrace, 0, 16); in TEST() 67 debug_backtrace_print(stderr, backtrace, 16); in TEST() 70 debug_backtrace_capture(backtrace, 0, 16); in TEST() [all …]
|
D | u_debug_stack.h | 75 debug_backtrace_capture(struct debug_stack_frame *backtrace, 80 debug_backtrace_dump(const struct debug_stack_frame *backtrace, 85 const struct debug_stack_frame *backtrace,
|
/external/elfutils/tests/ |
D | backtrace-subr.sh | 115 testfiles backtrace.$arch.{exec,core} 116 tempfiles backtrace.$arch.{bt,err} 117 echo ./backtrace ./backtrace.$arch.{exec,core} 118 …testrun ${abs_builddir}/backtrace -e ./backtrace.$arch.exec --core=./backtrace.$arch.core 1>backtr… 119 cat backtrace.$arch.{bt,err} 120 check_unsupported backtrace.$arch.err backtrace.$arch.core 121 check_all backtrace.$arch.{bt,err} backtrace.$arch.core 122 check_backtracegen backtrace.$arch.bt backtrace.$arch.core 132 …(set +ex; testrun ${abs_builddir}/backtrace --backtrace-exec=${abs_builddir}/$child 1>$child.bt 2>… 197 …(set +ex; testrun ${abs_builddir}/backtrace -e ${abs_builddir}/$child --core=$core 1>$core.bt 2>$c… [all …]
|
D | Makefile.am | 50 varlocs backtrace backtrace-child \ program 51 backtrace-data backtrace-dwarf debuglink debugaltlink \ 70 check_PROGRAMS += backtrace-child-biarch 74 backtrace-child-biarch$(EXEEXT): backtrace-child.c 147 run-backtrace-native.sh run-backtrace-data.sh run-backtrace-dwarf.sh \ 148 run-backtrace-native-biarch.sh run-backtrace-native-core.sh \ 149 run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \ 150 run-backtrace-fp-core-x86_64.sh \ 151 run-backtrace-fp-core-aarch64.sh \ 152 run-backtrace-fp-core-ppc64le.sh \ [all …]
|
D | .gitignore | 24 /backtrace 25 /backtrace-child 26 /backtrace-child-biarch 27 /backtrace-data 28 /backtrace-dwarf 30 /core-dump-backtrace.lock
|
D | ChangeLog | 202 * run-backtrace-core-aarch64.sh: Likewise. 203 * run-backtrace-core-i386.sh: Likewise. 204 * run-backtrace-core-ppc.sh: Likewise. 205 * run-backtrace-core-s390.sh: Likewise. 206 * run-backtrace-core-s390x.sh: Likewise. 207 * run-backtrace-core-sparc.sh: Likewise. 208 * run-backtrace-core-x32.sh: Likewise. 209 * run-backtrace-core-x86_64.sh: Likewise. 210 * run-backtrace-data.sh: Likewise. 211 * run-backtrace-demangle.sh: Likewise. [all …]
|
/external/e2fsprogs/debian/scripts/ |
D | test-backtrace | 8 cat > /tmp/backtrace$$.c << EOF 17 frames = backtrace(stack_syms, 32); 22 if ! cc -o /tmp/backtrace$$ /tmp/backtrace$$.c; then 26 if ! ldd /tmp/backtrace$$ > /tmp/backtrace$$.ldd 2>&1 ; then 30 grep -q /usr/lib /tmp/backtrace$$.ldd 33 /bin/rm -f /tmp/backtrace$$*
|
/external/rust/crates/anyhow/src/ |
D | fmt.rs | 42 #[cfg(any(backtrace, feature = "backtrace"))] in debug() 44 use crate::backtrace::BacktraceStatus; in debug() 46 let backtrace = Self::backtrace(this); in debug() localVariable 47 if let BacktraceStatus::Captured = backtrace.status() { in debug() 48 let mut backtrace = backtrace.to_string(); in debug() localVariable 50 if backtrace.starts_with("stack backtrace:") { in debug() 52 backtrace.replace_range(0..1, "S"); in debug() 58 backtrace.truncate(backtrace.trim_end().len()); in debug() 59 write!(f, "{}", backtrace)?; in debug()
|
D | error.rs | 2 use crate::backtrace::Backtrace; 32 let backtrace = backtrace_if_absent!(error); in new() localVariable 33 Error::from_std(error, backtrace) in new() 77 Error::from_adhoc(message, backtrace!()) in msg() 81 pub(crate) fn from_std<E>(error: E, backtrace: Option<Backtrace>) -> Self in from_std() 95 #[cfg(all(not(backtrace), feature = "backtrace"))] in from_std() 100 unsafe { Error::construct(error, vtable, backtrace) } in from_std() 103 pub(crate) fn from_adhoc<M>(message: M, backtrace: Option<Backtrace>) -> Self in from_adhoc() 119 #[cfg(all(not(backtrace), feature = "backtrace"))] in from_adhoc() 125 unsafe { Error::construct(error, vtable, backtrace) } in from_adhoc() [all …]
|
D | context.rs | 6 #[cfg(backtrace)] 7 use std::backtrace::Backtrace; 27 let backtrace = backtrace_if_absent!(self); in ext_context() localVariable 28 Error::from_context(context, self, backtrace) in ext_context() 87 self.ok_or_else(|| Error::from_display(context, backtrace!())) in context() 95 self.ok_or_else(|| Error::from_display(context(), backtrace!())) in with_context() 126 #[cfg(backtrace)] 127 fn backtrace(&self) -> Option<&Backtrace> { in backtrace() function 128 self.error.backtrace() in backtrace() 140 #[cfg(backtrace)] [all …]
|
D | backtrace.rs | 1 #[cfg(backtrace)] 2 pub(crate) use std::backtrace::{Backtrace, BacktraceStatus}; 4 #[cfg(all(not(backtrace), feature = "backtrace"))] 7 #[cfg(not(any(backtrace, feature = "backtrace")))] 10 #[cfg(backtrace)] 13 std::backtrace::Backtrace 17 #[cfg(all(not(backtrace), feature = "backtrace"))] 24 #[cfg(any(backtrace, feature = "backtrace"))] 25 macro_rules! backtrace { macro 27 Some(crate::backtrace::Backtrace::capture()) [all …]
|
/external/libchrome/base/trace_event/ |
D | heap_profiler_allocation_context.cc | 40 AllocationContext::AllocationContext(const Backtrace& backtrace, in AllocationContext() argument 42 : backtrace(backtrace), type_name(type_name) {} in AllocationContext() 45 return (lhs.backtrace == rhs.backtrace) && (lhs.type_name == rhs.type_name); in operator ==() 65 size_t hash<Backtrace>::operator()(const Backtrace& backtrace) const { in operator ()() 67 for (size_t i = 0; i != backtrace.frame_count; ++i) { in operator ()() 68 values[i] = backtrace.frames[i].value; in operator ()() 70 return base::PersistentHash(values, backtrace.frame_count * sizeof(*values)); in operator ()() 74 size_t backtrace_hash = hash<Backtrace>()(ctx.backtrace); in operator ()()
|
D | heap_profiler_allocation_context_tracker.cc | 181 auto* backtrace = std::begin(ctx->backtrace.frames); in GetContextSnapshot() local 182 auto* backtrace_end = std::end(ctx->backtrace.frames); in GetContextSnapshot() 196 *backtrace++ = StackFrame::FromThreadName(thread_name_); in GetContextSnapshot() 208 if (backtrace == backtrace_end) in GetContextSnapshot() 210 *backtrace++ = stack_frame; in GetContextSnapshot() 245 size_t backtrace_capacity = backtrace_end - backtrace; in GetContextSnapshot() 249 *backtrace++ = StackFrame::FromTraceEventName("<truncated>"); in GetContextSnapshot() 253 *backtrace++ = StackFrame::FromProgramCounter(frame); in GetContextSnapshot() 260 ctx->backtrace.frame_count = backtrace - std::begin(ctx->backtrace.frames); in GetContextSnapshot()
|
D | heap_profiler_allocation_context_tracker_unittest.cc | 52 auto* actual = std::begin(ctx.backtrace.frames); in AssertBacktraceEquals() 53 auto* actual_bottom = actual + ctx.backtrace.frame_count; in AssertBacktraceEquals() 74 ASSERT_EQ(1u, ctx.backtrace.frame_count); in AssertBacktraceContainsOnlyThreadName() 75 ASSERT_EQ(t, ctx.backtrace.frames[0]); in AssertBacktraceContainsOnlyThreadName() 299 ASSERT_EQ(t, ctx.backtrace.frames[0]); in TEST_F() 300 ASSERT_EQ(c, ctx.backtrace.frames[1]); in TEST_F() 301 ASSERT_EQ(f, ctx.backtrace.frames[11]); in TEST_F() 308 ASSERT_EQ(t, ctx.backtrace.frames[0]); in TEST_F() 309 ASSERT_EQ(c, ctx.backtrace.frames[1]); in TEST_F() 310 ASSERT_EQ(f, ctx.backtrace.frames[11]); in TEST_F()
|
/external/rust/crates/thiserror-impl/src/ |
D | expand.rs | 49 let backtrace = &backtrace_field.member; in impl_struct() localVariable 54 self.#source.as_ref().and_then(|source| source.as_dyn_error().backtrace()) in impl_struct() 58 self.#source.as_dyn_error().backtrace() in impl_struct() 63 #source_backtrace.or(self.#backtrace.as_ref()) in impl_struct() 67 std::option::Option::Some(#source_backtrace.unwrap_or(&self.#backtrace)) in impl_struct() 76 self.#backtrace.as_ref() in impl_struct() 80 std::option::Option::Some(&self.#backtrace) in impl_struct() 84 fn backtrace(&self) -> std::option::Option<&std::backtrace::Backtrace> { in impl_struct() 203 if backtrace_field.attrs.backtrace.is_none() => in impl_enum() 205 let backtrace = &backtrace_field.member; in impl_enum() localVariable [all …]
|
/external/swiftshader/src/Reactor/ |
D | LLVMReactorDebugInfo.cpp | 139 auto const &backtrace = getCallerBacktrace(); in EmitLocation() local 140 syncScope(backtrace); in EmitLocation() 141 builder->SetCurrentDebugLocation(getLocation(backtrace, backtrace.size() - 1)); in EmitLocation() 142 emitPrintLocation(backtrace); in EmitLocation() 153 void DebugInfo::syncScope(Backtrace const &backtrace) in syncScope() argument 170 if(backtrace.size() < diScope.size()) in syncScope() 172 shrink(backtrace.size()); in syncScope() 179 auto const &newLocation = backtrace[i]; in syncScope() 205 while(backtrace.size() > diScope.size()) in syncScope() 208 auto location = backtrace[i]; in syncScope() [all …]
|
/external/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/ |
D | TestNetBSDCore.py | 117 def check_backtrace(self, thread, filename, backtrace): argument 118 self.assertGreaterEqual(thread.GetNumFrames(), len(backtrace)) 120 for i in range(len(backtrace)): 123 if not backtrace[i].startswith('_'): 124 self.assertEqual(frame.GetFunctionName(), backtrace[i]) 126 line_number(src, "Frame " + backtrace[i])) 129 backtrace[i][0])) 158 backtrace = ["bar", "foo", "main"] 159 self.check_backtrace(thread, filename, backtrace) 184 backtrace = ["bar", "foo", "lwp_main"] [all …]
|
/external/llvm-project/lldb/test/API/functionalities/unwind/noreturn/module-end/ |
D | TestNoReturnModuleEnd.py | 27 backtrace = [ 32 self.assertEqual(thread.GetNumFrames(), len(backtrace)) 33 for i in range(len(backtrace)): 38 self.assertEqual(symbol.GetName(), backtrace[i][0]) 40 self.assertEquals(function_start + backtrace[i][1], frame.GetPC())
|
/external/rust/crates/pin-project-lite/tests/ui/ |
D | invalid-bounds.stderr | 11 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 23 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 39 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 55 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 71 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 83 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 97 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 111 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 128 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … 145 …= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more … [all …]
|
/external/llvm-project/libunwind/test/ |
D | libunwind_01.pass.cpp | 4 void backtrace(int lower_bound) { in backtrace() function 25 backtrace(i); in test1() 29 backtrace(i); in test2() 34 backtrace(i); in test3()
|
/external/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/ |
D | stack_unwinding01.lldbinit | 3 thread backtrace 5 thread backtrace 7 thread backtrace
|