Lines Matching full:report
1 //===-- report.cpp ----------------------------------------------*- C++ -*-===//
9 #include "report.h"
44 ScopedErrorReport Report; in reportCheckFailed() local
45 Report.append("CHECK failed @ %s:%d %s ((u64)op1=%llu, (u64)op2=%llu)\n", in reportCheckFailed()
51 ScopedErrorReport Report; in reportError() local
52 Report.append("%s\n", Message); in reportError()
63 ScopedErrorReport Report; in reportInvalidFlag() local
64 Report.append("invalid value for %s option: '%s'\n", FlagType, Value); in reportInvalidFlag()
70 ScopedErrorReport Report; in reportHeaderCorruption() local
71 Report.append("corrupted chunk header at address %p", Ptr); in reportHeaderCorruption()
75 Report.append(": chunk header is zero and might indicate memory corruption " in reportHeaderCorruption()
79 Report.append(": most likely due to memory corruption\n", Ptr); in reportHeaderCorruption()
86 ScopedErrorReport Report; in reportSanityCheckError() local
87 Report.append("maximum possible %s doesn't fit in header\n", Field); in reportSanityCheckError()
93 ScopedErrorReport Report; in reportAlignmentTooBig() local
94 Report.append("invalid allocation alignment: %zu exceeds maximum supported " in reportAlignmentTooBig()
102 ScopedErrorReport Report; in reportAllocationSizeTooBig() local
103 Report.append("requested allocation size %zu (%zu after adjustments) exceeds " in reportAllocationSizeTooBig()
109 ScopedErrorReport Report; in reportOutOfBatchClass() local
110 Report.append("BatchClass region is used up, can't hold any free block\n"); in reportOutOfBatchClass()
114 ScopedErrorReport Report; in reportOutOfMemory() local
115 Report.append("out of memory trying to allocate %zu bytes\n", RequestedSize); in reportOutOfMemory()
135 ScopedErrorReport Report; in reportInvalidChunkState() local
136 Report.append("invalid chunk state when %s address %p\n", in reportInvalidChunkState()
141 ScopedErrorReport Report; in reportMisalignedPointer() local
142 Report.append("misaligned pointer when %s address %p\n", in reportMisalignedPointer()
150 ScopedErrorReport Report; in reportDeallocTypeMismatch() local
151 Report.append("allocation type mismatch when %s address %p (%d vs %d)\n", in reportDeallocTypeMismatch()
159 ScopedErrorReport Report; in reportDeleteSizeMismatch() local
160 Report.append( in reportDeleteSizeMismatch()
166 ScopedErrorReport Report; in reportAlignmentNotPowerOfTwo() local
167 Report.append( in reportAlignmentNotPowerOfTwo()
173 ScopedErrorReport Report; in reportCallocOverflow() local
174 Report.append("calloc parameters overflow: count * size (%zu * %zu) cannot " in reportCallocOverflow()
180 ScopedErrorReport Report; in reportInvalidPosixMemalignAlignment() local
181 Report.append( in reportInvalidPosixMemalignAlignment()
188 ScopedErrorReport Report; in reportPvallocOverflow() local
189 Report.append("pvalloc parameters overflow: size %zu rounded up to system " in reportPvallocOverflow()
195 ScopedErrorReport Report; in reportInvalidAlignedAllocAlignment() local
196 Report.append("invalid alignment requested in aligned_alloc: %zu, alignment " in reportInvalidAlignedAllocAlignment()