Open
Description
Some (mostly generated) files from https://github.com/mamedev/mame take several minutes to compile with -fsanitize=undefined
- e.g. src/devices/cpu/m68000/m68000-sdf.cpp
.
They also consume a lot of memory during compilation:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3190941 user 20 0 2333788 2,1g 151380 R 100,0 14,1 1:00.92 clang++
I do not now what information to provide for this to proceed so I am waiting for feedback.
IIRC this also applies to -fsanitize=address
.