| ... | ... | @@ -3037,7 +3037,7 @@ const min_nop_size = 2; |
| 3037 | 3037 | |
| 3038 | 3038 | /// Writes to the file a buffer, prefixed and suffixed by the specified number of |
| 3039 | 3039 | /// bytes of NOPs. Asserts each padding size is at least `min_nop_size` and total padding bytes |
| 3040 | | /// are less than 126,976 bytes (if this limit is ever reached, this function can be |
| 3040 | /// are less than 1044480 bytes (if this limit is ever reached, this function can be |
| 3041 | 3041 | /// improved to make more than one pwritev call, or the limit can be raised by a fixed |
| 3042 | 3042 | /// amount by increasing the length of `vecs`). |
| 3043 | 3043 | fn pwriteDbgLineNops( |
| ... | ... | @@ -3052,7 +3052,7 @@ fn pwriteDbgLineNops( |
| 3052 | 3052 | |
| 3053 | 3053 | const page_of_nops = [1]u8{DW.LNS_negate_stmt} ** 4096; |
| 3054 | 3054 | const three_byte_nop = [3]u8{ DW.LNS_advance_pc, 0b1000_0000, 0 }; |
| 3055 | | var vecs: [32]std.os.iovec_const = undefined; |
| 3055 | var vecs: [256]std.os.iovec_const = undefined; |
| 3056 | 3056 | var vec_index: usize = 0; |
| 3057 | 3057 | { |
| 3058 | 3058 | var padding_left = prev_padding_size; |