Commit Graph
11 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 892ab51585 Only force the log level if it set via an argv
Follow-up to #14019
2021-01-30 19:54:07 +00:00
Gleb Mazovetskiy f372a2112b Fix logging flags
1. The logging flags were being ignored (-v, -d)
2. Adds a `--loglevel` argument. Useful when using the debug build for
   ASAN/UBSAN to hide extremely noisy debug messages.
2021-01-30 16:10:27 +00:00
Gleb Mazovetskiy 7305ba9d9b x64Emitter: Fix unaligned store UBSAN errors
This compiles to the same assembly as before even without optimizations and avoids UB.

https://godbolt.org/z/4G5edM

While the UB here is benign, this improves signal-to-noise ratio of UBSAN errors.

Fixes #14005
2021-01-30 12:26:01 +00:00
Gleb Mazovetskiy 78ad98e6c4 jpge.cpp: Remove malloc.h include
`malloc.h` is deprecated and doesn't exist on macOS.
`stdlib.h` provides malloc.

Fix sent upstream in https://github.com/richgel999/jpeg-compressor/pull/18
2021-01-30 12:13:13 +00:00
Gleb Mazovetskiy 5a09bc3d30 Update ext/jpge
From https://github.com/richgel999/jpeg-compressor/tree/aeb7d3b463aa8228b87a28013c15ee50a7e6fcf3

Fixes #14012

Also now comes with SSE2 SIMD
2021-01-30 12:13:08 +00:00
Gleb Mazovetskiy c17685646e Fix left shift of negative value in MIPSCodeUtils
Fixes a benign UBSAN error to improve the signal-to-noise ratio of
UBSAN errors.

Fixes #14015
2021-01-30 12:03:40 +00:00
Gleb Mazovetskiy 093a36eec5 Fix alignment issues in ISOFileSystem
Fixes #14002
2021-01-30 00:28:34 +00:00
Gleb Mazovetskiy 08dbec532a CMake: Fix UBSAN link error 2021-01-29 23:29:54 +00:00
Gleb Mazovetskiy 0fb42e07a6 CMake: Rename USE_ADDRESS_SANITIZER to USE_ASAN
For consistency with USE_UBSAN
2021-01-29 23:10:22 +00:00
Gleb Mazovetskiy 3bd3046315 CMake: Add USE_UBSAN 2021-01-29 23:08:00 +00:00
Gleb Mazovetskiy 4c203c5d5f FindFFmpeg: Fix a few issues
1. postproc now looks for postprocess.h (there is no postproc.h header).
2. pkg-config fallback condition now works (find_path/library set the
   variable to ${var}-NOTFOUND but it was checking for an empty string).
2021-01-29 00:24:12 +00:00