This is an automated email from the ASF dual-hosted git repository.
hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 18894dd4a41 [fix](arm) fix compile error in arm platform (#67419)
18894dd4a41 is described below
commit 18894dd4a415e3e9a0181d531ca8476e5882b031
Author: TengJianPing <[email protected]>
AuthorDate: Wed Sep 2 14:35:57 2026 +0800
[fix](arm) fix compile error in arm platform (#67419)
---
be/src/service/http/action/be_thread_stack_action.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/service/http/action/be_thread_stack_action.cpp
b/be/src/service/http/action/be_thread_stack_action.cpp
index a7d89d743f3..8b474fe311b 100644
--- a/be/src/service/http/action/be_thread_stack_action.cpp
+++ b/be/src/service/http/action/be_thread_stack_action.cpp
@@ -133,12 +133,14 @@ pid_t get_current_tid() {
return static_cast<pid_t>(syscall(SYS_gettid));
}
+#if defined(USE_UNWIND) && USE_UNWIND && defined(__x86_64__)
void append_frame(SignalContextCapture* capture, uintptr_t pc) {
if (pc == 0 || capture->size >= capture->frame_pointers.size()) {
return;
}
capture->frame_pointers[capture->size++] = reinterpret_cast<void*>(pc);
}
+#endif
void capture_signal_context_unwind(const ucontext_t* context,
SignalContextCapture* capture) {
*capture = SignalContextCapture {};
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]