about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.org>2016-05-23 00:16:26 -0400
committerBrian Campbell <lambda@continuation.org>2016-05-24 08:56:03 -0400
commit696a570a00db2528b7934be32da7d8334738a997 (patch)
tree977c8c960d60a59c6a059780d8fbcda1f8d303d2 /src/rustllvm/RustWrapper.cpp
parentcfc386583291c8868d093d07431a57a20e69c944 (diff)
downloadrust-696a570a00db2528b7934be32da7d8334738a997.tar.gz
rust-696a570a00db2528b7934be32da7d8334738a997.zip
Open code the __fastfail intrinsic for rtabort! on windows
As described https://msdn.microsoft.com/en-us/library/dn774154.aspx

This is a Windows 8+ mechanism for terminating the process quickly,
which degrades to either an access violation or bugcheck in older versions.

I'm not sure this is better the the current mechanism of terminating
with an illegal instruction, but we recently converted unix to
terminate more correctly with SIGABORT, and this *seems* more correct
for windows.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions