Skip to content

Commit

Permalink
[LLD] Fix include following 45b8a74
Browse files Browse the repository at this point in the history
  • Loading branch information
aganea committed Nov 12, 2020
1 parent a196e80 commit ec63dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions llvm/lib/Support/CrashRecoveryContext.cpp
Expand Up @@ -454,6 +454,7 @@ bool CrashRecoveryContext::throwIfCrash(int RetCode) {
::RaiseException(RetCode, 0, 0, NULL);
#else
// On Unix, signals are represented by return codes of 128 or higher.
// Exit code 128 is a reserved value and should not be raised as a signal.
if (RetCode <= 128)
return false;
llvm::sys::unregisterHandlers();
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Support/Process.cpp
Expand Up @@ -20,7 +20,7 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"

#include <stddef.h> // for _Exit
#include <stdlib.h> // for _Exit

using namespace llvm;
using namespace sys;
Expand Down

0 comments on commit ec63dfe

Please sign in to comment.