Commit c5d0520
[CIR] Cast record size to uint64 to prevent overflow (llvm#167525)
`llvm::TypeSize` uses 64bit integers, so we should cast the `recordSize`
before multiplying by 8 to prevent an overflow.1 parent ec316d0 commit c5d0520
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
0 commit comments