HomePhabricator

Reset NextFnNum in MachineModuleInfo::initialize

Authored by rtereshin on Aug 10 2020, 11:29 PM.

Description

Reset NextFnNum in MachineModuleInfo::initialize

In an env that reuses compiler instances for multiple compilations, this
omission results in non-deterministic assembly output (names of the
auto-generated labels) if the order or full set of Modules compiled
varies.

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

Details

Committed
dsandersApr 19 2021, 3:51 PM
Differential Revision
D100797: Reset NextFnNum in MachineModuleInfo::initialize
Parents
rG2218f5998b5b: [libc++][gardening] Replace instances of `\x{AD}`.
Branches
Unknown
Tags
Unknown