diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2022-04-27 07:25:01 +0100 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2022-04-27 07:28:25 +0100 |
commit | a910337b5d01b2ad889abbd41db04314fcad664e (patch) | |
tree | 845fa91ac1ac8f023cbf8d44e1f93def2c33fe0f /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0571af01df2044b976cbd0b0c72163f6090940e6 (diff) | |
download | llvm-a910337b5d01b2ad889abbd41db04314fcad664e.zip llvm-a910337b5d01b2ad889abbd41db04314fcad664e.tar.gz llvm-a910337b5d01b2ad889abbd41db04314fcad664e.tar.bz2 |
[FuncSpec] Conditional jump or move depends on uninitialised value(s).
I found this bug when performing a two-stage build of clang with
Function Specialization enabled and tuned aggressively. The crash
appears only on release builds.
Fixes https://github.com/llvm/llvm-project/issues/55000.
Before accessing the contents of the ArgInfo iterator inside
SCCPInstVisitor::markArgInFuncSpecialization, we should be
checking that the iterator is valid.
Differential Revision: https://reviews.llvm.org/D124114
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions