| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
looking for it along $PATH. This allows installs of LLVM tools outside of
$PATH to find the symbolizer and produce pretty backtraces if they crash.
llvm-svn: 272232
|
|
|
|
|
|
|
| |
llvm/lib/Support/Signals.cpp:66:13: warning: unused function 'printSymbolizedStackTrace' [-Wunused-function]
llvm/lib/Support/Signals.cpp:52:13: warning: function 'findModulesAndOffsets' has internal linkage but is not defined [-Wundefined-internal]
llvm-svn: 252418
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
llvm-symbolizer understands both PDBs and DWARF, so it is more likely to
succeed at symbolization. If llvm-symbolizer is unavailable, we will
fall back to dbghelp. This also makes our crash traces more similar
between Windows and Linux.
Reviewers: Bigcheese, zturner, chapuni
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12884
llvm-svn: 252118
|
|
|
|
|
|
|
|
|
|
|
|
| |
And expose it in Signals.h, allowing clients to call it directly,
possibly LLVMErrorHandler which currently calls RunInterruptHandlers
but not RunSignalHandlers, thus for example not printing the stack
backtrace on Unixish OSes. On Windows it does happen because
RunInterruptHandlers ends up calling the callbacks as well via
Cleanup(). This difference in behaviour and code structures in
*/Signals.inc should be patched in the future.
llvm-svn: 242936
|
|
|
|
|
|
|
|
|
| |
Move CallBacksToRun into the common Signals.cpp, create RunCallBacksToRun()
and use these in both Unix/Signals.inc and Windows/Signals.inc.
Lots of potential code to be merged here.
llvm-svn: 242925
|
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
|
|
|
| |
llvm-svn: 120298
|
|
|
|
| |
llvm-svn: 16097
|
|
|
|
| |
llvm-svn: 15496
|
|
|
|
|
|
| |
but not right now.
llvm-svn: 13811
|
|
|
|
| |
llvm-svn: 11690
|
|
|
|
|
|
|
| |
in a signal handler, allocating memory or doing other unsafe things is bad,
which means we should do it in a different process.
llvm-svn: 11689
|
|
|
|
| |
llvm-svn: 11658
|
|
|
|
|
|
| |
call breaks on sparcs
llvm-svn: 11635
|
|
|
|
| |
llvm-svn: 11631
|
|
|
|
|
|
| |
the symbols are not demangled.
llvm-svn: 11620
|
|
|
|
| |
llvm-svn: 10464
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 8559
|
|
|
|
| |
llvm-svn: 7480
|
|
|
|
|
|
| |
system.
llvm-svn: 7014
|
|
|
|
| |
llvm-svn: 6351
|
|
|
|
| |
llvm-svn: 6305
|
|
|
|
|
|
|
|
| |
ISSUE: Linux doesn't have any steenking SIGEMT signal, as referred to in
lib/Support/Signals.cpp.
ACTION: Wrap the use with a #ifdef SIGEMT / #endif.
llvm-svn: 3700
|
|
|
|
| |
llvm-svn: 2791
|
|
llvm-svn: 2302
|