This is quite minimal so far, introduce them with .section,
fill them with .int8 or .asciz, end with .size
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 28655 Build 28654: arc lint + arc unit
Event Timeline
Note to reviewers: this is a pretty minimal set of directives so far, if you have any opinions which others are vital to add in this patch, let me know :)
Great!
lib/MC/MCParser/WasmAsmParser.cpp | ||
---|---|---|
139 | How about .data ? | |
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp | ||
667 | What will happen now if we hit this case? Should we assert/unreachable? | |
test/MC/WebAssembly/basic-assembly.s | ||
87 | Indentation inconsistent with above | |
173 | To these end up as two different fragments with in the data section? Just curious how this is preserved through mc. | |
test/MC/WebAssembly/data-section.s | ||
3 | Command is wrong. We do check! | |
12 | Consistent indention with directives below? |
How about .data ?