[PATCH] D92006: Refactoring the attrubute plugin example to fit the new API

2020-11-23 Thread Yafei Liu via Phabricator via cfe-commits
psionic12 created this revision. psionic12 added reviewers: john.brawn, aaron.ballman, Tyker. Herald added a project: clang. Herald added a subscriber: cfe-commits. psionic12 requested review of this revision. Make the example compiled and the test case passed. Repository: rG LLVM Github Monor

[PATCH] D91898: [attributes] Add a facility for defining and enforcing a Trusted Computing Base.

2020-11-23 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added a comment. > if the TCB-based functions are a small subset of the code then this attribute > is better Yes, that's exactly the case. We want most functions to be untrusted by default but also have no restrictions imposed or warnings emitted for them when they do their usual function

<    1   2   3