File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 45
45
#include " llvm/Support/Program.h"
46
46
#include " llvm/Support/SaveAndRestore.h"
47
47
#include " llvm/Support/raw_ostream.h"
48
+ #include " llvm/Support/PrettyStackTrace.h"
48
49
#include < algorithm>
49
50
#include < string>
50
51
#ifdef HAVE_BACKTRACE
@@ -387,6 +388,12 @@ static void SignalHandler(int Sig) {
387
388
OneShotPipeSignalFunction.exchange (nullptr ))
388
389
return OldOneShotPipeFunction ();
389
390
391
+ if (Sig == SIGBUS) {
392
+ llvm::setBugReportMsg (" Linker received SIGBUG which most likely means that there "
393
+ " is insufficient disk space available. If you think this is "
394
+ " not the case, please reach out internally for assistance.\n " );
395
+ }
396
+
390
397
bool IsIntSig = llvm::is_contained (IntSigs, Sig);
391
398
if (IsIntSig)
392
399
if (auto OldInterruptFunction = InterruptFunction.exchange (nullptr ))
You can’t perform that action at this time.
0 commit comments