<div dir="ltr"><div>What do we expect from the following IR?</div><div><br></div><div>@i2 = constant i32 30, section "INITDATA", align 4</div><div>@i1 = global i32 0, section "INITDATA", align 4</div><div>
<br></div><div>Currently, we stick them in one section that isn't writable which is problematic because @i1 is writable. If you flip @i1 and @i2 you get one section which is writable.</div><div><br></div><div>It seems like we should do one of the following:</div>
<div>1. Two sections, one writable + one that isn't</div><div>2. One section that is writable</div><div>3. Give an error</div><div><br></div><div>Personally, I like #1 or #2.</div><div><br></div><div>-- </div><div>David Majnemer</div>
</div>