Head r359981 and r359994 reverted commits that caused clang to run in infinite loop, allocating all available memory and crashing the system.