mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-14 14:56:47 +00:00
[sanitizer] Don't define common ReportDeadlySignal on Fuchsia
This causes a linker error because of duplicate symbol since ReportDeadlySignal is defined both in sanitizer_common_libcdep and sanitizer_fuchsia. Differential Revision: https://reviews.llvm.org/D37952 llvm-svn: 313641
This commit is contained in:
parent
86c74dd791
commit
5995e71a37
@ -147,7 +147,7 @@ void BackgroundThread(void *arg) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !SANITIZER_GO
|
||||
#if !SANITIZER_FUCHSIA && !SANITIZER_GO
|
||||
void StartReportDeadlySignal() {
|
||||
// Write the first message using fd=2, just in case.
|
||||
// It may actually fail to write in case stderr is closed.
|
||||
@ -254,7 +254,7 @@ void ReportDeadlySignal(const SignalContext &sig, u32 tid,
|
||||
else
|
||||
ReportDeadlySignalImpl(sig, tid, unwind, unwind_context);
|
||||
}
|
||||
#endif // !SANITIZER_GO
|
||||
#endif // !SANITIZER_FUCHSIA && !SANITIZER_GO
|
||||
|
||||
void WriteToSyslog(const char *msg) {
|
||||
InternalScopedString msg_copy(kErrorMessageBufferSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user