[PATCH] D43423: [SimplifyCFG] Create flag to disable simplifyCFG.

Kostya Serebryany via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 11:38:29 PST 2018


kcc added a comment.

We use function attributes in similar situations for asan/tsan/msan. 
Similar, but not equivalent, so I don't know if we must follow the same pattern here. 
The difference here is that we should keep the ability to turn optimization on and off from command line, regardless of what are the coverage instrumentation flags.

IIRC, the *function* metadata is not that easily stripped (as opposed to metadata attached to instructions).


https://reviews.llvm.org/D43423





More information about the cfe-commits mailing list