aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-11 08:13:54 +0000
committerKostya Serebryany <kcc@google.com>2013-02-11 08:13:54 +0000
commitd688bab563da574394913722eea9fb8a9e062660 (patch)
tree0d32257552d82cc26eab960dba3a1af6f5ace4c7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent35d2dc765e8e69f6710104f5fd6109a1f49c085e (diff)
downloadllvm-d688bab563da574394913722eea9fb8a9e062660.zip
llvm-d688bab563da574394913722eea9fb8a9e062660.tar.gz
llvm-d688bab563da574394913722eea9fb8a9e062660.tar.bz2
[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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 110f47c..30ba85e 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));
}