This is an automated email from the ASF dual-hosted git repository.

achennaka pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 10b46ef49 [util] clean up libunwind headers for aarch64
10b46ef49 is described below

commit 10b46ef49fb5916e34888831bde6780c95ec2b3d
Author: Alexey Serbin <ale...@apache.org>
AuthorDate: Fri Oct 6 16:54:17 2023 -0700

    [util] clean up libunwind headers for aarch64
    
    It turns out the specialization of libunwind headers for a particular
    architecture is done within the libunwind.h header itself, so there is
    no need for arch-specific preprocessor directives in the files that
    use libunwind API.
    
    I verified that the result code builds successfully on aarch64,
    in particular on a Graviton3 instance in EC2.
    
    This changelist doesn't contain any functional modifications.
    
    This is a follow-up to f5d2899a6483fc08a17ade8d9b26b3e6930da4e4.
    
    Change-Id: Ic2ed98f15cf83484e4f2efa8c76414d2218f12e1
    Reviewed-on: http://gerrit.cloudera.org:8080/20543
    Tested-by: Kudu Jenkins
    Reviewed-by: Abhishek Chennaka <achenn...@cloudera.com>
---
 src/kudu/util/debug-util.cc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/kudu/util/debug-util.cc b/src/kudu/util/debug-util.cc
index 8c7f42f4b..17a73bfb4 100644
--- a/src/kudu/util/debug-util.cc
+++ b/src/kudu/util/debug-util.cc
@@ -43,11 +43,7 @@
 #include <glog/raw_logging.h>
 #ifdef __linux__
 #define UNW_LOCAL_ONLY
-#ifdef __aarch64__
-#include <libunwind-aarch64.h>
-#else
 #include <libunwind.h>
-#endif //__aarch64__
 #endif
 
 #include "kudu/gutil/basictypes.h"

Reply via email to