MAYBE? let me know if you think we need it. I'll improve the patch.
This way we don't need to rely on MTE attributes and let
clang to controll when to include this info into summary.
Depends on D81242.
Paths
| Differential D81244
[StackSafety] Control paramer access summary from frontend Needs ReviewPublic Authored by vitalybuka on Jun 5 2020, 2:04 AM.
Details
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 5 2020, 2:04 AM Herald added subscribers: llvm-commits, cfe-commits, dexonsmith and 2 others. · View Herald Transcript Comment Actions I like this in principle. Makes a lot more sense to control this directly from clang than to rely on function attributes.
Revision Contents
Diff 268706 clang/lib/CodeGen/BackendUtil.cpp
llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h
llvm/include/llvm/Analysis/StackSafetyAnalysis.h
llvm/include/llvm/Bitcode/BitcodeWriterPass.h
llvm/include/llvm/Transforms/IPO.h
llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/Analysis/StackSafetyAnalysis.cpp
llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
llvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll
llvm/test/Analysis/StackSafetyAnalysis/ipa.ll
llvm/test/Bitcode/thinlto-function-summary-paramaccess.ll
llvm/tools/llvm-extract/llvm-extract.cpp
llvm/tools/opt/NewPMDriver.h
llvm/tools/opt/NewPMDriver.cpp
llvm/tools/opt/opt.cpp
|
What does this chunk do?