File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -732,6 +732,7 @@ enum AttributeKindCodes {
732
732
ATTR_KIND_WRITABLE = 97 ,
733
733
ATTR_KIND_CORO_ONLY_DESTROY_WHEN_COMPLETE = 98 ,
734
734
ATTR_KIND_DEAD_ON_UNWIND = 99 ,
735
+ ATTR_KIND_MARKER = 100 ,
735
736
};
736
737
737
738
enum ComdatSelectionKindCodes {
Original file line number Diff line number Diff line change @@ -2092,6 +2092,8 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
2092
2092
return Attribute::Hot;
2093
2093
case bitc::ATTR_KIND_PRESPLIT_COROUTINE:
2094
2094
return Attribute::PresplitCoroutine;
2095
+ case bitc::ATTR_KIND_MARKER:
2096
+ return Attribute::Marker;
2095
2097
case bitc::ATTR_KIND_VOLATILE_FUNCTION:
2096
2098
return Attribute::IsVolatileFunction;
2097
2099
case bitc::ATTR_KIND_DISABLE_BLOCK_PLACEMENT_PASS:
Original file line number Diff line number Diff line change @@ -834,6 +834,8 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
834
834
case Attribute::EmptyKey:
835
835
case Attribute::TombstoneKey:
836
836
llvm_unreachable (" Trying to encode EmptyKey/TombstoneKey" );
837
+ case Attribute::Marker:
838
+ return bitc::ATTR_KIND_MARKER;
837
839
case Attribute::IsVolatileFunction:
838
840
return bitc::ATTR_KIND_VOLATILE_FUNCTION;
839
841
case Attribute::DisableBlockPlacementPass:
You can’t perform that action at this time.
0 commit comments