[PATCH] D143607: [Support][WIP] Add unit test for symbolized stack traces
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 10 14:30:40 PST 2023
dblaikie added inline comments.
================
Comment at: llvm/unittests/Support/CrashRecoveryTest.cpp:118-120
+#if defined(HAVE_BACKTRACE) && ENABLE_BACKTRACES && HAVE_LINK_H && \
+ (defined(__linux__) || defined(__FreeBSD__) || \
+ defined(__FreeBSD_kernel__) || defined(__NetBSD__))
----------------
Presumably the condition is more than the "can we do backtraces" condition - but can we do /symbolized/ backtraces, which means testing for whether this is built with debug info, but I'm not sure if we have a preprocessor define for that/way to detect that?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143607/new/
https://reviews.llvm.org/D143607
More information about the llvm-commits
mailing list