[PATCH] D88269: Indicate that we print the non-symbolized stack trace and information about how to get it symbolized
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 18:56:31 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG960535d65a92: Hint how to get a symbolized stack trace if llvm-symbolizer is not found on… (authored by mehdi_amini).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88269/new/
https://reviews.llvm.org/D88269
Files:
llvm/lib/Support/Unix/Signals.inc
Index: llvm/lib/Support/Unix/Signals.inc
===================================================================
--- llvm/lib/Support/Unix/Signals.inc
+++ llvm/lib/Support/Unix/Signals.inc
@@ -576,6 +576,9 @@
Depth = depth;
if (printSymbolizedStackTrace(Argv0, StackTrace, Depth, OS))
return;
+ OS << "Stack dump without symbol names (ensure you have llvm-symbolizer in "
+ "your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point "
+ "to it):\n";
#if HAVE_DLFCN_H && HAVE_DLADDR
int width = 0;
for (int i = 0; i < depth; ++i) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88269.294214.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200925/64cd3620/attachment.bin>
More information about the llvm-commits
mailing list