mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
[tsan/msan] adding thread_safety and uninitialized_checks attributes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174864 91177308-0d34-0410-b5e6-96231b3b80d8
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