[tsan/msan] adding thread_safety and uninitialized_checks attributes
llvm-svn: 174864
This commit is contained in:
@@ -181,7 +181,7 @@ static uint64_t encodeLLVMAttributesForBitcode(AttributeSet Attrs,
|
||||
uint64_t EncodedAttrs = Attrs.Raw(Index) & 0xffff;
|
||||
if (Attrs.hasAttribute(Index, Attribute::Alignment))
|
||||
EncodedAttrs |= Attrs.getParamAlignment(Index) << 16;
|
||||
EncodedAttrs |= (Attrs.Raw(Index) & (0xffffULL << 21)) << 11;
|
||||
EncodedAttrs |= (Attrs.Raw(Index) & (0xfffffULL << 21)) << 11;
|
||||
return EncodedAttrs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user