Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Windows] Symbolize with llvm-symbolizer instead of dbghelp in a self-host | Reid Kleckner | 2015-11-05 | 1 | -1/+123 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | Rename RunCallBacksToRun to llvm::sys::RunSignalHandlers | Yaron Keren | 2015-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 | ||||
* | De-duplicate Unix & Windows CallBacksToRun | Yaron Keren | 2015-07-22 | 1 | -1/+13 |
| | | | | | | | | | 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 | ||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -0/+34 |
| | | | | llvm-svn: 120298 | ||||
* | Signals support has been moved to lib/System | Reid Spencer | 2004-08-29 | 1 | -138/+0 |
| | | | | llvm-svn: 16097 | ||||
* | It is not possible to catch SIGKILL, don't bother trying. | Chris Lattner | 2004-08-04 | 1 | -1/+1 |
| | | | | llvm-svn: 15496 | ||||
* | Signals.h header moved. Eventually this should move into a lib/System library, | Chris Lattner | 2004-05-27 | 1 | -1/+1 |
| | | | | | | but not right now. llvm-svn: 13811 | ||||
* | `cat' is usually in /bin, not /usr/bin, at least on our systems. | Misha Brukman | 2004-02-21 | 1 | -1/+1 |
| | | | | llvm-svn: 11690 | ||||
* | When printing a stack trace, demangle it if possible. Since we are potentially | Chris Lattner | 2004-02-21 | 1 | -5/+61 |
| | | | | | | | 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 | ||||
* | Use backtrace() and include execinfo.h, if they were detected by autoconf. | Brian Gaeke | 2004-02-20 | 1 | -5/+10 |
| | | | | llvm-svn: 11658 | ||||
* | Disable the stack trace thing until we can get an autoconf test for it. This | Chris Lattner | 2004-02-19 | 1 | -3/+3 |
| | | | | | | call breaks on sparcs llvm-svn: 11635 | ||||
* | Implement new function | Chris Lattner | 2004-02-19 | 1 | -0/+6 |
| | | | | llvm-svn: 11631 | ||||
* | Print stacktrace in STDERR before dying on a fatal signal. Currently | Alkis Evlogimenos | 2004-02-19 | 1 | -1/+7 |
| | | | | | | the symbols are not demangled. llvm-svn: 11620 | ||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-14 | 1 | -5/+2 |
| | | | | llvm-svn: 10464 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Fixed spelling & grammar. | Misha Brukman | 2003-09-16 | 1 | -1/+1 |
| | | | | llvm-svn: 8559 | ||||
* | Move #include from a header to here | Chris Lattner | 2003-08-01 | 1 | -0/+1 |
| | | | | llvm-svn: 7480 | ||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 1 | -1/+1 |
| | | | | | | system. llvm-svn: 7014 | ||||
* | Make _sure_ we don't go into an infinite loop if a signal happens! | Chris Lattner | 2003-05-27 | 1 | -0/+1 |
| | | | | llvm-svn: 6351 | ||||
* | Add using declarations | Chris Lattner | 2003-05-22 | 1 | -3/+2 |
| | | | | llvm-svn: 6305 | ||||
* | Submitted by Casey Carter: | Chris Lattner | 2002-09-13 | 1 | -2/+4 |
| | | | | | | | | 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 | ||||
* | changes to make it compatible with 64bit gcc | Anand Shukla | 2002-06-25 | 1 | -4/+5 |
| | | | | llvm-svn: 2791 | ||||
* | Add new api for basic signal handling for tools | Chris Lattner | 2002-04-18 | 1 | -0/+53 |
llvm-svn: 2302 |