The overal size of the data section (including BSS)
is otherwise not include in the wasm binary.
Details
Diff Detail
- Build Status
Buildable 7665 Build 7665: arc lint + arc unit
Event Timeline
lib/MC/WasmObjectWriter.cpp | ||
---|---|---|
887 | It looks like these sections will come out of order wrt their enum values above. Should we just make data size and alignment be numbers 0 and 1? | |
934 | Maybe we should make the min data alignment be 1? Should we have 0 or missing alignment be some default? Maybe the default should just be the min too. Or we could have the min be 4; in general I guess we'd probably want numbers to have min alignment of 4 (which we can also set in the compiler), but for strings maybe we don't care and can let it be less? |
- - add default alignment of 1
lib/MC/WasmObjectWriter.cpp | ||
---|---|---|
934 | Changed the default to 1 for now. We can revisit this when I update Linking.md |
It looks like these sections will come out of order wrt their enum values above. Should we just make data size and alignment be numbers 0 and 1?