forked from OSchip/llvm-project
parent
7792f5f145
commit
44abeb5c3c
|
@ -432,7 +432,7 @@ StackSafetyDataFlowAnalysis::StackSafetyDataFlowAnalysis(
|
||||||
: PointerSize(M.getDataLayout().getPointerSizeInBits()),
|
: PointerSize(M.getDataLayout().getPointerSizeInBits()),
|
||||||
UnknownRange(PointerSize, true) {
|
UnknownRange(PointerSize, true) {
|
||||||
// Without ThinLTO, run the local analysis for every function in the TU and
|
// Without ThinLTO, run the local analysis for every function in the TU and
|
||||||
// then run the DFA and annotate allocas
|
// then run the DFA.
|
||||||
for (auto &F : M.functions())
|
for (auto &F : M.functions())
|
||||||
if (!F.isDeclaration())
|
if (!F.isDeclaration())
|
||||||
Functions.emplace(&F, FI(F));
|
Functions.emplace(&F, FI(F));
|
||||||
|
|
Loading…
Reference in New Issue