[llvm-bugs] [Bug 44823] New: Clang memory usage is massive when invoking multiple TUs
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 7 06:02:03 PST 2020
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: unassignedclangbugs at nondot.org
Reporter: erich.keane at intel.com
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200207/cd052436/attachment-0001.html>
More information about the llvm-bugs
mailing list