aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2021-12-29 15:31:11 -0800
committerSnehasish Kumar <snehasishk@google.com>2022-01-31 15:04:41 -0800
commit8306968b592d942cc49bde2e387061e673a9fbb7 (patch)
tree9ab54960c577410ccb22db214d64bb312a0ab7bb /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent702c0cfa07597af150b0556c97ce0431a7d1de59 (diff)
downloadllvm-8306968b592d942cc49bde2e387061e673a9fbb7.zip
llvm-8306968b592d942cc49bde2e387061e673a9fbb7.tar.gz
llvm-8306968b592d942cc49bde2e387061e673a9fbb7.tar.bz2
[memprof] Move the meminfo block struct to MemProfData.inc.
The definition of the MemInfoBlock is shared between the memprof compiler-rt runtime and llvm/lib/ProfileData/. This change removes the memprof_meminfoblock header and moves the struct to the shared include file. To enable this sharing, the Print method is moved to the memprof_allocator (the only place it is used) and the remaining uses are updated to refer to the MemInfoBlock defined in the MemProfData.inc file. Also a couple of other minor changes which improve usability of the types in MemProfData.inc. * Update the PACKED macro to handle commas. * Add constructors and equality operators. * Don't initialize the buildid field. Differential Revision: https://reviews.llvm.org/D116780
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions