[NFC][Sanitizer] Comment out argument checks

These break clang-ppc64 bots.

llvm-svn: 354718
This commit is contained in:
Julian Lettner 2019-02-23 03:24:10 +00:00
parent 7c99328cf4
commit beb33eb3cf
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;