https://bugs.llvm.org/show_bug.cgi?id=44823
Bug ID: 44823
Summary: Clang memory usage is massive when invoking multiple
TUs
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Driver
Assignee: unassignedclangb...@nondot.org
Reporter: erich.ke...@intel.com
CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
richard-l...@metafoo.co.uk
After this patch: https://reviews.llvm.org/D69825
multiple TUs cause really high memory usage. This is because each invocation of
the CC1Command isn't cleaning up after itself thanks to -disable-free. I
believe that in cases where there will be more than 1 CC1 invocation we need to
disable the driver's addition of the disable-free flag for all but the last CC1
invocation.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs