Issue 132554
Summary excessive compile-time and memory usage with `-fsanitize=undefined`
Labels compiler-rt:ubsan, slow-compile, incomplete
Assignees
Reporter firewave
    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`.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to