mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-04 14:06:07 +00:00

Previously, the analysis modeled global variables appearing in the _body_ of any function (including constructors). But, that misses those appearing in constructor _initializers_. This patch adds the initializers to the set of expressions used to determine which globals to model. Differential Revision: https://reviews.llvm.org/D140501