The overal size of the data section (including BSS)
is otherwise not include in the wasm binary.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/MC/WasmObjectWriter.cpp | ||
---|---|---|
887 ↗ | (On Diff #104050) | 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? |
932 ↗ | (On Diff #104050) | 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? |
Comment Actions
- - add default alignment of 1
lib/MC/WasmObjectWriter.cpp | ||
---|---|---|
932 ↗ | (On Diff #104050) | Changed the default to 1 for now. We can revisit this when I update Linking.md |