You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…llvm#5320)
Enable -Wsizeof-array-div and -Wsizeof-pointer-divcompiler.
Also, replace -Wmemset-transposed-args with -Wsuspicious-memaccess. The
latter automatically enables the former and a few other warnings.
Differential Revision: https://reviews.llvm.org/D133783
(cherry picked from commit 157f6fc)
Extended Description
Compiling any file with --time-report and checks enabled:
$ llvm-gcc --time-report -c empty.c
Execution times (seconds)
llvm backend per file : 0.01 (100%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall 0 kB ( 0%) ggc
TOTAL : 0.01 0.00 0.01 989 kB
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --disable-checking to disable checks.
cc1: llvm/include/llvm/Support/Timer.h:177: llvm::TimerGroup::~TimerGroup(): Assertion `NumTimers == 0 && "TimerGroup destroyed before all contained timers!"' failed.
The text was updated successfully, but these errors were encountered: