forked from OSchip/llvm-project
parent
19f176b982
commit
a9b7514eb0
|
@ -47,7 +47,7 @@ template <class ELFT> size_t readEhRecordSize(ArrayRef<uint8_t> D) {
|
|||
fatal("CIE/FDE too large");
|
||||
uint64_t Size = V + 4;
|
||||
if (Size > D.size())
|
||||
fatal("CIE/FIE ends past the end of the section");
|
||||
fatal("CIE/FDE ends past the end of the section");
|
||||
return Size;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
.section .eh_frame
|
||||
.long 42
|
||||
|
||||
// CHECK: CIE/FIE ends past the end of the section
|
||||
// CHECK: CIE/FDE ends past the end of the section
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
.section .eh_frame
|
||||
.long 0xFFFFFFFC
|
||||
|
||||
// CHECK: CIE/FIE ends past the end of the section
|
||||
// CHECK: CIE/FDE ends past the end of the section
|
||||
|
|
Loading…
Reference in New Issue