diff options
author | Kazu Hirata <kazu@google.com> | 2025-04-23 15:39:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-23 15:39:45 -0700 |
commit | 9a8f90dba3f8c25cbb3525a482053d3abcd3fddc (patch) | |
tree | 83ae9f65e11cb86052598ca6658e5d28278f4447 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b6f32ad8b03dccaba0db7ded9d561ee83e4530ab (diff) | |
download | llvm-9a8f90dba3f8c25cbb3525a482053d3abcd3fddc.zip llvm-9a8f90dba3f8c25cbb3525a482053d3abcd3fddc.tar.gz llvm-9a8f90dba3f8c25cbb3525a482053d3abcd3fddc.tar.bz2 |
[memprof] Move writeMemProf to a separate file (#137051)
This patch moves writeMemProf and its subroutines to a separate file.
The intent is as follows:
- Reduce the size of InstrProfWriter.cpp.
- Move the subroutines to a separate file because they don't interact
with anything else in InstrProfWriter.cpp.
Remarks:
- The new file is named IndexedMemProfData.cpp without "Writer" in the
name so that we can move the reader code to this file in the future.
- This patch just moves code without changing the function signatures
for now. It might make sense to implement a class encompassing
"serialize" and "deserialize" methods for IndexedMemProfData, but
that's left to subsequent patches.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions