forked from OSchip/llvm-project
[NFC][Sanitizer] Comment out argument checks
These break clang-ppc64 bots. llvm-svn: 354718
This commit is contained in:
parent
7c99328cf4
commit
beb33eb3cf
|
@ -70,8 +70,8 @@ static inline uhwptr *GetCanonicFrame(uptr bp,
|
|||
|
||||
void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top,
|
||||
uptr stack_bottom, u32 max_depth) {
|
||||
CHECK_NE(stack_bottom, 0);
|
||||
CHECK_GT(stack_top, stack_bottom);
|
||||
// CHECK_NE(stack_bottom, 0);
|
||||
// CHECK_GT(stack_top, stack_bottom);
|
||||
CHECK_GE(max_depth, 2);
|
||||
const uptr kPageSize = GetPageSizeCached();
|
||||
trace_buffer[0] = pc;
|
||||
|
|
|
@ -23,8 +23,8 @@ namespace __sanitizer {
|
|||
|
||||
void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top,
|
||||
uptr stack_bottom, u32 max_depth) {
|
||||
CHECK_NE(stack_bottom, 0);
|
||||
CHECK_GT(stack_top, stack_bottom);
|
||||
// CHECK_NE(stack_bottom, 0);
|
||||
// CHECK_GT(stack_top, stack_bottom);
|
||||
CHECK_GE(max_depth, 2);
|
||||
const uptr kPageSize = GetPageSizeCached();
|
||||
trace_buffer[0] = pc;
|
||||
|
|
Loading…
Reference in New Issue