diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-17 19:24:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-17 19:24:35 +0000 |
commit | 753fb624fb90e77f53b69afa44b7abe99a919b60 (patch) | |
tree | 3d5d54c5fe8ea3691a10053fa4ad5af3963841fc /include | |
parent | acd03ae6791fc0fb9f1b05247a1dc082b46b8d8b (diff) |
fix uninit member, thanks to Benjamin Kramer for identifying the bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/Mangler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/Mangler.h b/include/llvm/Target/Mangler.h index 8caa6230435..e634e789033 100644 --- a/include/llvm/Target/Mangler.h +++ b/include/llvm/Target/Mangler.h @@ -49,7 +49,7 @@ private: public: // Mangler ctor - if a prefix is specified, it will be prepended onto all // symbols. - Mangler(const MCAsmInfo &mai) : MAI(mai) {} + Mangler(const MCAsmInfo &mai) : MAI(mai), NextAnonGlobalID(0) {} /// getNameWithPrefix - Fill OutName with the name of the appropriate prefix /// and the specified global variable's name. If the global variable doesn't |