summaryrefslogtreecommitdiff
path: root/test/lit/binary/bad-datacount.test
Commit message (Collapse)AuthorAgeFilesLines
* [NFC] Eagerly create segments when parsing datacount (#6958)Thomas Lively2024-09-191-0/+9
The purpose of the datacount section is to pre-declare how many data segments there will be so that engines can allocate space for them and not have to back patch subsequent instructions in the code section that refer to them. Once we use IRBuilder in the binary parser, we will have to have the data segments available by the time we parse instructions that use them, so eagerly construct the data segments when parsing the datacount section.