summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/PrettyStackTrace.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a new watchdog timer interface. The interface does not permit handling ↵Nick Lewycky2013-03-261-1/+5
| | | | | | | | | timeouts, so it's only really useful if you're going to crash anyways. Use it in the pretty stack trace printer to kill the compiler if we hang while printing the stack trace. llvm-svn: 177962
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-3/+3
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Add more initializers to quiet a clang warning.Eric Christopher2011-10-051-1/+1
| | | | llvm-svn: 141163
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558
* Change all self assignments X=X to (void)X, so that we can turn on aJeffrey Yasskin2010-12-231-2/+1
| | | | | | | new gcc warning that complains on self-assignments and self-initializations. llvm-svn: 122458
* Apparently OS X 10.4 doesn't have __crashreporter_info__.Eric Christopher2010-12-031-5/+5
| | | | | | Try to fix building on the wayback machine. llvm-svn: 120801
* Merge System into Support.Michael J. Spencer2010-11-291-2/+2
| | | | llvm-svn: 120298
* Fix a couple of warnings.Eric Christopher2010-08-081-2/+3
| | | | llvm-svn: 110527
* Fix thinko.Eric Christopher2010-06-281-2/+4
| | | | llvm-svn: 107042
* Pull in the libCrashReporterClient.a information with a warning comment.Eric Christopher2010-06-281-2/+9
| | | | | | Remove library check and regenerate configure. llvm-svn: 107028
* Look for and use a different darwin crash reporter library.Eric Christopher2010-06-221-1/+11
| | | | llvm-svn: 106576
* Fix __crashreport_info__ declaration.Daniel Dunbar2010-05-201-2/+2
| | | | llvm-svn: 104300
* Switch to SmallString::str from SmallString::c_str, and removeDaniel Dunbar2009-08-191-2/+2
| | | | | | SmallString::c_str. llvm-svn: 79456
* add a knob to turn off PrettyStackTrace globally. Patch by ZoltanChris Lattner2009-07-161-1/+6
| | | | | | Varga! llvm-svn: 75897
* Support thread-local pretty stack traces.Owen Anderson2009-06-251-7/+8
| | | | llvm-svn: 74227
* Now that errs() is properly non-buffered, there's no need toDan Gohman2009-03-231-1/+0
| | | | | | explicitly flush it. llvm-svn: 67526
* Use c_str() to force the string to be nul-terminated.Dan Gohman2009-03-061-1/+1
| | | | llvm-svn: 66279
* on apple systems, integrate nicely with crash reporter.Chris Lattner2009-03-061-4/+34
| | | | llvm-svn: 66264
* Daniel wanted the stack printed upside down. Perhaps heChris Lattner2009-03-051-6/+14
| | | | | | | | | | | | | feels a kinship to machine stacks that grow down. Now we get stuff like this: Stack dump: 0. Program arguments: clang clang_crash_Iw2Osj.mi 1. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: parsing function body '_mm_cvtpi16_ps' 2. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: in compound statement ('{}') Abort llvm-svn: 66145
* indicate what the program args line is.Chris Lattner2009-03-051-1/+3
| | | | llvm-svn: 66144
* add some helper classes for building light-weight symbolic stack tracesChris Lattner2009-03-041-0/+69
that get printed when a program crashes. This is the first step of many. llvm-svn: 66076
OpenPOWER on IntegriCloud