search for: gencrashdiag

Displaying 2 results from an estimated 2 matches for "gencrashdiag".

2016 Nov 16
4
[RFC] Runtime checks for ABI breaking build of LLVM
...bled = setABIBreakingChecks(true); +#endif +} +#endif + #endif diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp index 7436a1fd38ee..151fcdcbfb27 100644 --- a/llvm/lib/Support/Error.cpp +++ b/llvm/lib/Support/Error.cpp @@ -112,3 +112,17 @@ void report_fatal_error(Error Err, bool GenCrashDiag) { } } + + +bool llvm::setABIBreakingChecks(bool Enabled) { + static char abi_breaking_checks_enabled = 0; + static char abi_breaking_checks_disabled = 0; + if (Enabled) + abi_breaking_checks_enabled = 1; + else + abi_breaking_checks_disabled = 1; + if (abi_breaking_checks_enabled &a...
2016 Nov 16
2
[RFC] Runtime checks for ABI breaking build of LLVM
...+ >> #endif >> diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp >> index 7436a1fd38ee..151fcdcbfb27 100644 >> --- a/llvm/lib/Support/Error.cpp >> +++ b/llvm/lib/Support/Error.cpp >> @@ -112,3 +112,17 @@ void report_fatal_error(Error Err, bool GenCrashDiag) { >> } >> >> } >> + >> + >> +bool llvm::setABIBreakingChecks(bool Enabled) { >> + static char abi_breaking_checks_enabled = 0; >> + static char abi_breaking_checks_disabled = 0; >> + if (Enabled) >> + abi_breaking_checks_enabled =...