Dmitri Hrybenko
83f5a45f24
stdlib/runtime: re-enable CrashReporter
...
Fold the contents of CrashReporterClient.a into the Swift runtime.
rdar://19482263
Swift SVN r24443
2015-01-15 10:13:02 +00:00
Erik Eckstein
6b8502b982
Store a fatal-error function in slots of eliminated vtable and witness table methods.
...
If for some reason an eliminated dead method is called (e.g. because of a compiler bug),
then the application aborts with a readable error message.
Swift SVN r22990
2014-10-28 16:06:37 +00:00
Dmitri Hrybenko
165cecfe19
Include required headers
...
Swift SVN r22327
2014-09-28 02:21:13 +00:00
Dmitri Hrybenko
fb34d07c4b
Only include malloc/malloc.h and asl.h on Apple platforms
...
Swift SVN r22319
2014-09-28 00:10:47 +00:00
Greg Parker
dc407c6235
[runtime] Improve unrecognized-selector error message for pure-Swift classes.
...
Swift SVN r20577
2014-07-25 23:42:29 +00:00
Dmitri Hrybenko
eca9bd244c
stdlib/runtime: don't leak filenames of users' code through calls to runtime
...
trap function for unimplemented initializers.
rdar://17054604
Swift SVN r18658
2014-05-28 22:42:15 +00:00
Dmitri Hrybenko
bbc6a92a4c
stdlib/Assert: don't print stdlib filename and line number in stdlib traps
...
rdar://16958193
Swift SVN r18431
2014-05-19 21:37:51 +00:00
Greg Parker
3353e15270
[runtime] Don't free() a static empty string.
...
iOS device's CrashReporterClient is currently a no-op that is
incompatible with malloc/free usage.
Swift SVN r17375
2014-05-04 09:13:34 +00:00
Greg Parker
cb94a2be54
[runtime] Use asl_log() instead of asl_log_message() to log to system console.
...
asl_log_message() is not available on OS X 10.9.
Swift SVN r17373
2014-05-04 08:21:37 +00:00
Doug Gregor
f3c390e94b
Disable use of asl_log_message for now
...
Swift SVN r17318
2014-05-03 17:12:04 +00:00
Greg Parker
47efdd9885
[runtime] Write fatal error messages to crash logs (where available).
...
Swift SVN r17306
2014-05-03 02:57:32 +00:00