This is an archive of the discontinued LLVM Phabricator instance.

[StackSafety] Control paramer access summary from frontend
Needs ReviewPublic

Authored by vitalybuka on Jun 5 2020, 2:04 AM.

Details

Reviewers
eugenis
pcc
Summary

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.

Diff Detail

Event Timeline

vitalybuka created this revision.Jun 5 2020, 2:04 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 5 2020, 2:04 AM

I like this in principle. Makes a lot more sense to control this directly from clang than to rely on function attributes.

llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
31

What does this chunk do?

llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
456

Why do you need to turn ModuleSummaryIndex into a getter?