forked from OSchip/llvm-project
parent
7dfb168eb8
commit
5b375d84c0
|
@ -380,6 +380,7 @@ bool SanitizerGetThreadName(char *name, int max_len) {
|
|||
return true;
|
||||
}
|
||||
|
||||
#ifndef SANITIZER_GO
|
||||
//------------------------- SlowUnwindStack -----------------------------------
|
||||
#ifdef __arm__
|
||||
#define UNWIND_STOP _URC_END_OF_STACK
|
||||
|
@ -431,6 +432,8 @@ void StackTrace::SlowUnwindStack(uptr pc, uptr max_depth) {
|
|||
this->trace[0] = pc;
|
||||
}
|
||||
|
||||
#endif // #ifndef SANITIZER_GO
|
||||
|
||||
} // namespace __sanitizer
|
||||
|
||||
#endif // __linux__
|
||||
|
|
Loading…
Reference in New Issue