HomePhabricator

[UpdateCCTestChecks] Include generated functions if asked

Authored by greened on Jan 13 2020, 10:16 AM.

Description

[UpdateCCTestChecks] Include generated functions if asked

Add the --include-generated-funcs option to update_cc_test_checks.py so that any
functions created by the compiler that don't exist in the source will also be
checked.

We need to maintain the output order of generated function checks so that
CHECK-LABEL works properly. To do so, maintain a list of functions output for
each prefix in the order they are output. Use this list to output checks for
generated functions in the proper order.

Differential Revision: https://reviews.llvm.org/D83004

Details

Committed
greenedSep 18 2020, 4:34 AM
Differential Revision
D83004: [UpdateCCTestChecks] Include generated functions if asked
Parents
rG09a3737384ec: [Test] Missing range check removal opportunity
Branches
Unknown
Tags
Unknown