[all-commits] [llvm/llvm-project] 713702: [CGData] Make an option to skip reading Names into...
Zhaoxuan Jiang via All-commits
all-commits at lists.llvm.org
Tue Jun 10 07:34:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 713702109a02cb340224cc7c086dcf0f371db45b
https://github.com/llvm/llvm-project/commit/713702109a02cb340224cc7c086dcf0f371db45b
Author: Zhaoxuan Jiang <jiangzhaoxuan94 at gmail.com>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
A llvm/include/llvm/CGData/CGDataPatchItem.h
M llvm/include/llvm/CGData/CodeGenData.h
M llvm/include/llvm/CGData/CodeGenData.inc
M llvm/include/llvm/CGData/CodeGenDataWriter.h
M llvm/include/llvm/CGData/StableFunctionMapRecord.h
M llvm/lib/CGData/CodeGenData.cpp
M llvm/lib/CGData/CodeGenDataReader.cpp
M llvm/lib/CGData/CodeGenDataWriter.cpp
M llvm/lib/CGData/StableFunctionMapRecord.cpp
M llvm/lib/CodeGen/GlobalMergeFunctions.cpp
M llvm/test/tools/llvm-cgdata/empty.test
M llvm/test/tools/llvm-cgdata/error.test
M llvm/test/tools/llvm-cgdata/merge-combined-funcmap-hashtree.test
M llvm/test/tools/llvm-cgdata/merge-funcmap-archive.test
M llvm/test/tools/llvm-cgdata/merge-funcmap-concat.test
M llvm/test/tools/llvm-cgdata/merge-funcmap-double.test
M llvm/test/tools/llvm-cgdata/merge-funcmap-single.test
M llvm/unittests/CGData/StableFunctionMapRecordTest.cpp
Log Message:
-----------
[CGData] Make an option to skip reading Names into StableFunctionMap (#142095)
Names are used for debugging purpose and have no impact on codegen. For
a non-trivial project, reading them consumes a lot of memory and slows
down the compilation significantly. This patch adds a field in the
indexed CGData to remember the total size of Names, and creates a
command-line option to skip reading Names by advancing the pointer when
deserializing the indexed CGData.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list