aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAndy Kaylor <akaylor@nvidia.com>2025-05-16 18:01:12 -0700
committerGitHub <noreply@github.com>2025-05-16 18:01:12 -0700
commitf7ef8dcbad9d5ac6cf2a8917d5ce03564fdfd0d8 (patch)
tree31be4e1c0387bce2e23225f7a3a1e5a8ea6b3672 /clang/lib/Frontend/CompilerInvocation.cpp
parent5c154277efa32cad37be7a09003bc0db61de3198 (diff)
downloadllvm-f7ef8dcbad9d5ac6cf2a8917d5ce03564fdfd0d8.zip
llvm-f7ef8dcbad9d5ac6cf2a8917d5ce03564fdfd0d8.tar.gz
llvm-f7ef8dcbad9d5ac6cf2a8917d5ce03564fdfd0d8.tar.bz2
[CIR] Fix problem with phantom function arguments (#140322)
There was a problem introduced today where sometimes the CIR for functions with no arguments would be generated with phantom arguments. This was causing intermittent test failures. The problem appears to have been that we were using two different Profile implementations to generate the FoldingSetNodeID for CIRGenFunctionInfo so occaissionally when we tried to look for a pre-existing entry for a function with no arguments it would incorrectly match a CIRGenFunctionInfo entry that had arguments. To prevent this from happening again, I rewrote one of the two Profile functions to call the other.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions