diff options
Diffstat (limited to 'llvm/lib/Support/Annotation.cpp')
| -rw-r--r-- | llvm/lib/Support/Annotation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Annotation.cpp b/llvm/lib/Support/Annotation.cpp index b7780433c06..4b5b97e41f3 100644 --- a/llvm/lib/Support/Annotation.cpp +++ b/llvm/lib/Support/Annotation.cpp @@ -39,7 +39,7 @@ namespace { } typedef std::map<const char*, unsigned, StrCmp> IDMapType; -static unsigned IDCounter = 0; // Unique ID counter +static volatile sys::cas_flag IDCounter = 0; // Unique ID counter // Static member to ensure initialiation on demand. static ManagedStatic<IDMapType> IDMap; |

