[PATCH] D80908: [StackSafety] Add info into function summary
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 00:29:35 PDT 2020
vitalybuka created this revision.
vitalybuka added a reviewer: eugenis.
Herald added subscribers: llvm-commits, arphaman, dexonsmith, steven_wu, hiraditya.
Herald added a project: LLVM.
This patch adds optional field into function summary,
implements asm and bitcode serialization. YAML
serialization is omitted and can be added later if
needed.
This patch includes this information into summary only
if module contains at least one sanitize_memtag function.
In a near future MTE is the user of the analysis.
Later if needed we can provede more direct control
on when information is included into summary.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80908
Files:
llvm/docs/LangRef.rst
llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h
llvm/include/llvm/Analysis/StackSafetyAnalysis.h
llvm/include/llvm/Bitcode/LLVMBitCodes.h
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/Analysis/StackSafetyAnalysis.cpp
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLParser.h
llvm/lib/AsmParser/LLToken.h
llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/ModuleSummaryIndex.cpp
llvm/test/Bitcode/thinlto-function-summary-stacksafety.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80908.267551.patch
Type: text/x-patch
Size: 42439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/75896b4e/attachment.bin>
More information about the llvm-commits
mailing list