diff options
author | Kazu Hirata <kazu@google.com> | 2024-12-10 21:29:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-10 21:29:57 -0800 |
commit | 76b493128cb171455a1890f7bd2b54f32b7ec2a7 (patch) | |
tree | 8a31426698937d62d1496b97cf0a7f47f0a2ed5a /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 3146d57b646c869564669c3e074d6d4fc1ca7500 (diff) | |
download | llvm-76b493128cb171455a1890f7bd2b54f32b7ec2a7.zip llvm-76b493128cb171455a1890f7bd2b54f32b7ec2a7.tar.gz llvm-76b493128cb171455a1890f7bd2b54f32b7ec2a7.tar.bz2 |
[memprof] Accept a function name in YAML (#119453)
This patch does two things:
- During deserialization, we accept a function name as an alternative
to the usual GUID represented as a hexadecimal number.
- During serialization, we print a GUID as a 16-digit hexadecimal
number prefixed with 0x in the usual way. (Without this patch, we
print a decimal number, which is not customary.)
In YAML, the MemProf profile is a vector of pairs of GUID and
MemProfRecord. This patch accepts a function name for the GUID, but
it does not accept a function name for the GUID used in Frames yet.
That will be addressed in a subsequent patch.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions