HomePhabricator

[Coverage] Collect all function records in an object (D69471 followup)

Authored by vsk on Mar 2 2020, 11:37 AM.

Description

[Coverage] Collect all function records in an object (D69471 followup)

After the format change from D69471, there can be more than one section
in an object that contains coverage function records. Look up each of
these sections and concatenate all the records together.

This re-enables the instrprof-merging.cpp test, which previously was
failing on OSes which use comdats.

Thanks to Jeremy Morse, who very kindly provided object files from the
bot I broke to help me debug.

Details

Committed
vskMar 2 2020, 12:01 PM
Parents
rG375437ab92a8: [OPENMP50]Support 'destroy' clause on 'depobj' directives.
Branches
Unknown
Tags
Unknown