GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BUG: Support using libunwind for backtrack · numpy/numpy@1d4cb4b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • numpy
    • core
      • setup_common.py
      • src/multiarray
        • temp_elide.c
    • linalg
      • umath_linalg.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎numpy/core/setup_common.py‎

Copy file name to clipboardExpand all lines: numpy/core/setup_common.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ def set_sig(sig):
142142
"immintrin.h", # AVX
143143
"features.h", # for glibc version linux
144144
"xlocale.h", # see GH#8367
145-
"dlfcn.h", # dladdr
145+
"dlfcn.h", # dladdr
146+
"execinfo.h", # backtrace
147+
"libunwind.h", # backtrace for LLVM/Clang using libunwind
146148
"sys/mman.h", #madvise
147149
]
148150

Collapse file

‎numpy/core/src/multiarray/temp_elide.c‎

Copy file name to clipboardExpand all lines: numpy/core/src/multiarray/temp_elide.c
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@
8282
#define NPY_MIN_ELIDE_BYTES (32)
8383
#endif
8484
#include <dlfcn.h>
85+
86+
#if defined HAVE_EXECINFO_H
8587
#include <execinfo.h>
88+
#elif defined HAVE_LIBUNWIND_H
89+
#include <libunwind.h>
90+
#endif
8691

8792
/*
8893
* linear search pointer in table
Collapse file

‎numpy/linalg/umath_linalg.cpp‎

Copy file name to clipboardExpand all lines: numpy/linalg/umath_linalg.cpp
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ using dispatch_scalar = typename std::conditional<std::is_scalar<typ>::value, sc
5050
} while (0)
5151

5252
#if 0
53+
#if defined HAVE_EXECINFO_H
5354
#include <execinfo.h>
55+
#elif defined HAVE_LIBUNWIND_H
56+
#include <libunwind.h>
57+
#endif
5458
void
5559
dbg_stack_trace()
5660
{

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.