HomePhabricator

Do not modify a cl::opt programmatically, global mutable state is evil.

Description

Do not modify a cl::opt programmatically, global mutable state is evil.

Found by TSAN on ThinLTO.

From: Mehdi Amini <mehdi.amini@apple.com>

Details

Committed
mehdi_aminiApr 15 2016, 9:58 PM
Parents
rL266513: ValueMapper: Stop memoizing ConstantAsMetadata
Branches
Unknown
Tags
Unknown