aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-08-22 12:06:47 -0700
committerGitHub <noreply@github.com>2024-08-22 12:06:47 -0700
commit3082a381f57ef2885c270f41f2955e08c79634c5 (patch)
treef362d1957937b1286fcf9f2d6756a95f7a1ecb6a /clang/lib/CodeGen/CodeGenFunction.cpp
parente738c816f2079e2f0fdc395e53070cc1afd8bfac (diff)
downloadllvm-3082a381f57ef2885c270f41f2955e08c79634c5.zip
llvm-3082a381f57ef2885c270f41f2955e08c79634c5.tar.gz
llvm-3082a381f57ef2885c270f41f2955e08c79634c5.tar.bz2
[LTO] Introduce helper functions to add GUIDs to ImportList (NFC) (#105555)
The new helper functions make the intent clearer while hiding implementation details, including how we handle previously added entries. Note that: - If we are adding a GUID as a GlobalValueSummary::Definition, then we override a previously added GlobalValueSummary::Declaration entry for the same GUID. - If we are adding a GUID as a GlobalValueSummary::Declaration, then a previously added GlobalValueSummary::Definition entry for the same GUID takes precedence, and no change is made.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions