diff options
| author | Kostya Serebryany <kcc@google.com> | 2013-02-11 08:13:54 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2013-02-11 08:13:54 +0000 |
| commit | d688bab563da574394913722eea9fb8a9e062660 (patch) | |
| tree | 0d32257552d82cc26eab960dba3a1af6f5ace4c7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 35d2dc765e8e69f6710104f5fd6109a1f49c085e (diff) | |
[tsan/msan] adding thread_safety and uninitialized_checks attributes
llvm-svn: 174864
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 110f47c7d869..30ba85eca61b 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -444,7 +444,7 @@ static void decodeLLVMAttributesForBitcode(AttrBuilder &B, if (Alignment) B.addAlignmentAttr(Alignment); - B.addRawValue(((EncodedAttrs & (0xffffULL << 32)) >> 11) | + B.addRawValue(((EncodedAttrs & (0xfffffULL << 32)) >> 11) | (EncodedAttrs & 0xffff)); } |
