Now llc -filetype=null works.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thank you! I think this is a better way to support MCNullStreamer than D54614.
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h | ||
---|---|---|
97 ↗ | (On Diff #174484) | What is virtual here for? It seems to be redundant since these functions are already declared virtual in the base class (hence the override). |
test/CodeGen/WebAssembly/null-streamer.ll | ||
12 ↗ | (On Diff #174484) | Should there be a similar comment about .functype to explain g? |
Comment Actions
- Address comments
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h | ||
---|---|---|
97 ↗ | (On Diff #174484) | Thanks, I blindly copy-pasted this from the parent class and forgot to delete them. |
test/CodeGen/WebAssembly/null-streamer.ll | ||
12 ↗ | (On Diff #174484) | Actually we are planning changes (D54652, which will soon be landed) so that not only declared functions but also defined function will generate .functype directive. But anyway I think as you suggested having a second RUN line would be better than comments. |