🌐
GitHub
github.com › kurniawano › libdw
GitHub - kurniawano/libdw: Library for Digital World
Libdw is a library used in 10.009 Digital World conducted at SUTD freshmore.
Author   kurniawano
🌐
Debian
packages.debian.org › sid › libdw-dev
Details of package libdw-dev in sid
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
GitHub
github.com › kushaldas › elfutils › blob › master › libdw › libdw.h
elfutils/libdw/libdw.h at master · kushaldas/elfutils
#ifndef _LIBDW_H · #define _LIBDW_H 1 · · #include <gelf.h> #include <stdbool.h> #include <stddef.h> ·
Author   kushaldas
🌐
GNU
sourceware.org › elfutils
The elfutils project
libdw · dwarf, dwfl and dwelf functions to read DWARF, find separate debuginfo, symbols and inspect process state. libasm · asm and disasm functions to assemble and disassamble instructions (partial support for i686 and BPF instructions only). Included utilities: eu-addr2line ·
🌐
ROS
index.ros.org › › d › libdw-dev
libdw-dev - rosdep System Dependency Overview
{"arch"=>["libelf"], "debian"=>["libdw-dev"], "fedora"=>["elfutils-devel"], "gentoo"=>["dev-libs/elfutils"], "nixos"=>["elfutils"], "openembedded"=>["elfutils@openembedded-core"], "opensuse"=>["libdw-devel"], "osx"=>{"homebrew"=>{"packages"=>["elfutils"]}}, "rhel"=>["elfutils-devel"], "ubuntu"=>["libdw-dev"]}
🌐
Dyninst
dyninst.github.io › scalable_tools_workshop › petascale2017 › assets › slides › DWARF.pdf pdf
DWARF & ELF Utilities 1. Documentation for libdw & 2. ...
The 11th Scalable Tools Workshop (formerly the Petascale Tools Workshop and CSCADS Workshop on Petascale Tools) will be held Sunday, August 6-Thursday, August 10 this year at the Granlibakken Resort in Lake Tahoe, California. As in previous years, we will begin with presentations of people’s ...
🌐
PyPI
pypi.org › project › libdw
libdw · PyPI
The Digital World Code Distribution
      » pip install libdw
    
Published   Jan 08, 2020
Version   4.3.0
🌐
Reddit
reddit.com › r/haskell › so, like, what's up with libdw, exactly?
r/haskell on Reddit: So, like, what's up with libdw, exactly?
October 29, 2017 -

The mysterious module GHC.ExecutionStack states

Your GHC must have been built with libdw support for this to work.

 user@host:~$ ghc --info | grep libdw
 ,("RTS expects libdw","YES")

Using stack at least, even with the latest GHC 8.2 nightly snapshot, I instead get this:

$ stack exec -- ghc --info | grep libdw
47: ,("RTS expects libdw","NO")

and indeed, testing out the snippet in the module's documentation simply prints out Nothing.

Now, apart from the source code for protolude, it would appear that absolutely no open-source code imports GHC.ExecutionStack. There is barely any documentation on what this should look like, and more importantly, whether I have to build my own version of GHC to enable this feature.

I'm just looking for pain-free stack traces. +RTS -xc spurts out a thousand stack traces a second as it appears that GHC uses exceptions for multithreading and/or STM, and -xc seems to print out a stack trace even if the exception was caught (I'm guessing here -- -xc's output is too noisy to be useful). Even using profiling is not entirely useful, as now the uncaught exception I'm trying to fix is printed without an accompanying stack trace; moreover, I would like to leave stack traces on permanently, and I don't want to enable profiling in my final build.

Does anyone have any experience with this module, or some background knowledge as to why this functionality appears to be disabled by default? Remember, I'm trying to get full, permanently-on stack traces, which I can use to debug code running on production, so that I'm not left stumped when some random code throws a terse "*** Exception: Prelude.undefined" at me...

Thoughts and prayers?

Find elsewhere
🌐
Alpine Linux
pkgs.alpinelinux.org › package › edge › main › x86 › libdw
libdw - Alpine Linux packages
December 6, 2025 - Package details · Depends (8) · libelf · so:libbz2.so.1 · so:libc.musl-x86.so.1 · so:libelf.so.1 · so:libfts.so.0 · so:liblzma.so.5 · so:libz.so.1 · so:libzstd.so.1
🌐
Debian
packages.debian.org › bullseye › libdw-dev
Debian -- Details of package libdw-dev in bullseye
This package contains development libraries and header files for libdw1.
🌐
Ubuntu
launchpad.net › ubuntu › jammy › +package › libdw-dev
libdw-dev : Jammy (22.04) : Ubuntu - Launchpad
libdw1 provides a library that provides access to DWARF debug information stored inside ELF files. . This package contains development libraries and header files for libdw1. . It also contains a static version of libdw.
🌐
Debian
packages.debian.org › sid › amd64 › libdw-dev › filelist
File list of package libdw-dev in sid of architecture amd64
/usr/include/dwarf.h /usr/include/elfutils/known-dwarf.h /usr/include/elfutils/libdw.h /usr/include/elfutils/libdwelf.h /usr/include/elfutils/libdwfl.h /usr/lib/x86_64-linux-gnu/libdw.a /usr/lib/x86_64-linux-gnu/libdw.so /usr/lib/x86_64-linux-gnu/pkgconfig/libdw.pc /usr/share/doc/libdw-dev/changelog.Debian.gz /usr/share/doc/libdw-dev/changelog.gz /usr/share/doc/libdw-dev/copyright ·
🌐
Debian
packages.debian.org › bookworm › libdw-dev
Debian -- Details of package libdw-dev in bookworm
This package contains development libraries and header files for libdw1.
🌐
Google
chromium.googlesource.com › external › elfutils › + › refs › heads › master › libdw
libdw - external/elfutils - Git at Google
Sign in · chromium / external / elfutils / refs/heads/master / . / libdw · tree: 9573d39e16df26fdf209ccb8e55784ebdf8427c8 [path history] [tgz] · cfi.c · cfi.h · ChangeLog · cie.c · dwarf.h · dwarf_abbrev_hash.c · dwarf_abbrev_hash.h
🌐
GNU
sourceware.org › elfutils › coverage › libdw
LCOV - elfutils-0.194 - libdw
libdw · dwarf, dwfl and dwelf functions to read DWARF, find separate debuginfo, symbols and inspect process state. libasm · asm and disasm functions to assemble and disassamble instructions (partial support for i686 and BPF instructions only). Included utilities: eu-addr2line ·
🌐
GitHub
github.com › LLNL › Caliper › blob › master › cmake › FindLibDw.cmake
Caliper/cmake/FindLibDw.cmake at master · llnl/Caliper
# LIBDW_FOUND System has LIBDW libraries and headers · # LIBDW_LIBRARIES The LIBDW library · # LIBDW_INCLUDE_DIRS The location of LIBDW headers · · if (LIBDW_INCLUDE_DIR AND LIBDW_LIBRARY) set(LIBDW_FIND_QUIETLY true) endif() ·
Author   llnl
🌐
Ubuntu
launchpad.net › ubuntu › bionic › +package › libdw-dev
libdw-dev : Bionic (18.04) : Ubuntu - Launchpad
libdw1 provides a library that provides access to DWARF debug information stored inside ELF files. . This package contains development libraries and header files for libdw1. . It also contains a static version of libdw.
🌐
Google
android.googlesource.com › platform › external › elfutils › + › refs › heads › upstream-master › libdw
libdw - platform/external/elfutils - Git at Google
libdw.h · libdw.map · libdw_alloc.c · libdw_find_split_unit.c · libdw_findcu.c · libdw_form.c · libdw_visit_scopes.c · libdwP.h · Makefile.am ·