diff options
author | Mircea Trofin <mtrofin@google.com> | 2025-01-15 16:49:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 16:49:59 -0800 |
commit | b15845c0059b06f406e33f278127d7eb41ff5ab6 (patch) | |
tree | 4bc73edb2fdb3953f7cfe66f2b8e6a2f3007b0e4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | acf6072fae00123e78e362f74f0dc2d830837d10 (diff) | |
download | llvm-b15845c0059b06f406e33f278127d7eb41ff5ab6.zip llvm-b15845c0059b06f406e33f278127d7eb41ff5ab6.tar.gz llvm-b15845c0059b06f406e33f278127d7eb41ff5ab6.tar.bz2 |
[ctxprof] dump profiles using yaml (for testing) (#123108)
This is a follow-up from PR #122545, which enabled converting yaml to contextual profiles.
This change uses the lower level yaml APIs because:
- the mapping APIs `llvm::yaml` offers don't work with `const` values, because they (the APIs) want to enable both serialization and deserialization
- building a helper data structure would be an alternative, but it'd be either memory-consuming or overly-complex design, given the recursive nature of the contextual profiles.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions