From 9ea5ec1b8ca14caeb07d3bb7a77b431ee2c092a5 Mon Sep 17 00:00:00 2001 From: Adam Faiz Date: Wed, 28 Aug 2024 23:25:42 +0800 Subject: gnu: Add backward-cpp. * gnu/packages/debug.scm (backward-cpp): New variable. Signed-off-by: Liliana Marie Prikler --- gnu/packages/debug.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 8cfc0359f5..cc8e05746a 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -567,6 +567,33 @@ It is a fork of American Fuzzy Lop fuzzer and features: redqueen, AFLfast++ power schedules, MOpt mutators, unicorn_mode, etc. @end itemize"))) +(define-public backward-cpp + (package + (name "backward-cpp") + (version "1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bombela/backward-cpp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b2h03iwfhcsg8i4f125mlrjf8l1y7qsr2gsbkv0z03i067lykns")))) + (arguments + (list + #:configure-flags + #~(list "-DBACKWARD_SHARED=ON"))) + (build-system cmake-build-system) + (inputs + (list libiberty zlib)) + (synopsis "Stack trace pretty printer for C++") + (description + "Backward-cpp is a stack trace pretty printer for C++. +It can print annotated stack traces using debug info in the executable.") + (home-page "https://github.com/bombela/backward-cpp") + (license license:expat))) + (define-public stress-make (let ((commit "97815bed8060de33952475b3498767c91f59ffd9") (revision "2")) ;No official source distribution -- cgit v1.2.3