While investigating slow tests, I noticed that TestLldbGdbServer.py (and
other tests) have slow compile times for the targets they build to test with.
This change speeds up TestLldbGdbServer.py by enabling clang modules for the
compilation. After seeing that compilation was slow, I ran with -ftime-trace
and saw that a significant amount of compilation time was spent parsing libc++
headers.
On my machine, this reduces TestLldbGdbServer.py from:
Before:
Ran 84 tests in 223.308s
After:
Ran 84 tests in 131.672s