Now llc -filetype=null works.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 25128 Build 25127: arc lint + arc unit
Event Timeline
Thank you! I think this is a better way to support MCNullStreamer than D54614.
| lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h | ||
|---|---|---|
| 97 | 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 | ||
| 13 | Should there be a similar comment about .functype to explain g? | |
- Address comments
| lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h | ||
|---|---|---|
| 97 | Thanks, I blindly copy-pasted this from the parent class and forgot to delete them. | |
| test/CodeGen/WebAssembly/null-streamer.ll | ||
| 13 | 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. | |
What is virtual here for? It seems to be redundant since these functions are already declared virtual in the base class (hence the override).