forked from OSchip/llvm-project
parent
505d7f3105
commit
59bf75caab
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
namespace __sanitizer {
|
namespace __sanitizer {
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
|
||||||
//---------------------------- UnwindSlow --------------------------------------
|
//---------------------------- UnwindSlow --------------------------------------
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -119,6 +121,8 @@ _Unwind_Reason_Code Unwind_Trace(struct _Unwind_Context *ctx, void *param) {
|
||||||
return UNWIND_CONTINUE;
|
return UNWIND_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
|
||||||
void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) {
|
void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) {
|
||||||
CHECK_GE(max_depth, 2);
|
CHECK_GE(max_depth, 2);
|
||||||
size = 0;
|
size = 0;
|
||||||
|
|
Loading…
Reference in New Issue