File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1537,6 +1537,8 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
1537
1537
return Attribute::ByRef;
1538
1538
case bitc::ATTR_KIND_MUSTPROGRESS:
1539
1539
return Attribute::MustProgress;
1540
+ case bitc::ATTR_KIND_NO_STACK_PROTECT:
1541
+ return Attribute::NoStackProtect;
1540
1542
}
1541
1543
}
1542
1544
Original file line number Diff line number Diff line change @@ -404,6 +404,12 @@ define void @f68() mustprogress
404
404
ret void
405
405
}
406
406
407
+ ; CHECK; define void @f69() #42
408
+ define void @f69 () nossp
409
+ {
410
+ ret void
411
+ }
412
+
407
413
; CHECK: attributes #0 = { noreturn }
408
414
; CHECK: attributes #1 = { nounwind }
409
415
; CHECK: attributes #2 = { readnone }
@@ -446,4 +452,5 @@ define void @f68() mustprogress
446
452
; CHECK: attributes #39 = { sanitize_memtag }
447
453
; CHECK: attributes #40 = { null_pointer_is_valid }
448
454
; CHECK: attributes #41 = { mustprogress }
455
+ ; CHECK: attributes #42 = { nossp }
449
456
; CHECK: attributes #[[NOBUILTIN]] = { nobuiltin }
You can’t perform that action at this time.
0 commit comments