LibreOffice Module onlineupdate (master) 1
|
#include "Attributes.h"
#include "Compiler.h"
#include "Likely.h"
#include "MacroArgs.h"
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
Go to the source code of this file.
Functions | |
static MOZ_COLD MOZ_ALWAYS_INLINE void | MOZ_ReportAssertionFailure (const char *aStr, const char *aFilename, int aLine) MOZ_PRETEND_NORETURN_FOR_STATIC_ANALYSIS |
static MOZ_COLD MOZ_ALWAYS_INLINE void | MOZ_ReportCrash (const char *aStr, const char *aFilename, int aLine) MOZ_PRETEND_NORETURN_FOR_STATIC_ANALYSIS |
#define MOZ_ALWAYS_FALSE | ( | expr | ) | MOZ_ASSERT(!(expr)) |
Definition at line 495 of file Assertions.h.
#define MOZ_ALWAYS_TRUE | ( | expr | ) | MOZ_ASSERT((expr)) |
Definition at line 494 of file Assertions.h.
#define MOZ_ASSERT | ( | ... | ) | MOZ_RELEASE_ASSERT(__VA_ARGS__) |
Definition at line 383 of file Assertions.h.
#define MOZ_ASSERT_HELPER1 | ( | expr | ) |
Definition at line 358 of file Assertions.h.
#define MOZ_ASSERT_HELPER2 | ( | expr, | |
explain | |||
) |
Definition at line 367 of file Assertions.h.
#define MOZ_ASSERT_IF | ( | cond, | |
expr | |||
) |
Definition at line 404 of file Assertions.h.
#define MOZ_ASSERT_UNREACHABLE | ( | reason | ) | MOZ_ASSERT(false, "MOZ_ASSERT_UNREACHABLE: " reason) |
Definition at line 478 of file Assertions.h.
#define MOZ_ASSUME_UNREACHABLE_MARKER | ( | ) | abort() |
Definition at line 429 of file Assertions.h.
#define MOZ_CRASH | ( | ... | ) |
Definition at line 254 of file Assertions.h.
#define MOZ_DIAGNOSTIC_ASSERT MOZ_RELEASE_ASSERT |
Definition at line 391 of file Assertions.h.
#define MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE | ( | reason | ) |
Definition at line 481 of file Assertions.h.
#define MOZ_REALLY_CRASH | ( | ) |
MOZ_REALLY_CRASH is used in the implementation of MOZ_CRASH().
You should call MOZ_CRASH instead.
Definition at line 222 of file Assertions.h.
#define MOZ_RELEASE_ASSERT | ( | ... | ) |
Definition at line 377 of file Assertions.h.
Definition at line 376 of file Assertions.h.
#define MOZ_STATIC_ASSERT | ( | cond, | |
reason | |||
) | extern void MOZ_STATIC_ASSERT_GLUE(moz_static_assert, __LINE__)(int arg[(cond) ? 1 : -1]) MOZ_STATIC_ASSERT_UNUSED_ATTRIBUTE |
Definition at line 113 of file Assertions.h.
#define MOZ_STATIC_ASSERT_GLUE | ( | x, | |
y | |||
) | MOZ_STATIC_ASSERT_GLUE1(x, y) |
Definition at line 80 of file Assertions.h.
#define MOZ_STATIC_ASSERT_IF | ( | cond, | |
expr, | |||
reason | |||
) | MOZ_STATIC_ASSERT(!(cond) || (expr), reason) |
Definition at line 117 of file Assertions.h.
#define MOZ_STATIC_ASSERT_UNUSED_ATTRIBUTE /* nothing */ |
Definition at line 77 of file Assertions.h.
#define MOZ_VALIDATE_ASSERT_CONDITION_TYPE | ( | x | ) |
Definition at line 354 of file Assertions.h.
|
static |
Definition at line 135 of file Assertions.h.
References aStr, and nsTraceRefcnt::WalkTheStack().
|
static |
Definition at line 152 of file Assertions.h.
References aStr, and nsTraceRefcnt::WalkTheStack().