diff options
author | Florian Hahn <flo@fhahn.com> | 2020-05-01 14:43:15 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-05-01 14:46:35 +0100 |
commit | d911c17596c105d66be8daba4e778600527fde2e (patch) | |
tree | 2fa1f51a3ef9ef3906ef715a7f0718119d13bfda /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 85dc033caccaa6ab919d57f9759290be41240146 (diff) | |
download | llvm-d911c17596c105d66be8daba4e778600527fde2e.zip llvm-d911c17596c105d66be8daba4e778600527fde2e.tar.gz llvm-d911c17596c105d66be8daba4e778600527fde2e.tar.bz2 |
[SCCP] Get a copy of the state of CopyOf once.
This fixes potential reference invalidations, when no lattice value is
assigned for CopyOf. As the state of CopyOf won't change while in
handleCallResult, we can get a copy once and use that.
Should fix PR45749.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions