-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
Labels
compiler-rt:ubsanUndefined behavior sanitizerUndefined behavior sanitizerincompleteIssue not complete (e.g. missing a reproducer, build arguments, etc.)Issue not complete (e.g. missing a reproducer, build arguments, etc.)slow-compile
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
.
Metadata
Metadata
Assignees
Labels
compiler-rt:ubsanUndefined behavior sanitizerUndefined behavior sanitizerincompleteIssue not complete (e.g. missing a reproducer, build arguments, etc.)Issue not complete (e.g. missing a reproducer, build arguments, etc.)slow-compile