Element sections will also need flags, so we shouldn't squat the
WASM_SEGMENT namespace.
Depends on D90948.
| Paths 
 |  Differential  D92315  
[WebAssembly] Change prefix on data segment flags to WASM_DATA_SEGMENT ClosedPublic Authored by wingo on Nov 30 2020, 6:06 AM. 
Details Summary Element sections will also need flags, so we shouldn't squat the Depends on D90948. 
Diff Detail 
 Event Timelinewingo added a child revision: D92320: [WebAssembly][lld] Fix call-indirect.s test to validate.Nov 30 2020, 6:28 AM Comment Actions I wonder though if we can share the same set of flags for both? Don't table elem and data elem segment share the same set of flags? Comment Actions This one is ready for review; a simple renaming to prepare for WASM_ELEMENT_SEGMENT flags in D92321. NFC. This revision is now accepted and ready to land.Jan 18 2021, 8:11 AM Comment Actions Reformat comments on WasmDataSegment 
 This revision was landed with ongoing or failed builds.Jan 19 2021, 12:42 AM Closed by commit rG831a143e50ca: [WebAssembly] Change prefix on data segment flags to WASM_DATA_SEGMENT (authored by wingo).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 317476 lld/wasm/OutputSections.cpp
 lld/wasm/Writer.cpp
 llvm/include/llvm/BinaryFormat/Wasm.h
 llvm/lib/MC/WasmObjectWriter.cpp
 llvm/lib/Object/WasmObjectFile.cpp
 llvm/lib/ObjectYAML/WasmEmitter.cpp
 llvm/lib/ObjectYAML/WasmYAML.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Shall we move the comments onto the above line rather than splitting like this?