The ELF version was broken (does not deal with wasm specific fixups),
and now is slightly less broken. It will be removed in its entirety
in the future which this change makes slightly easier (just remove
the IsELF bool).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp | ||
---|---|---|
125 ↗ | (On Diff #149860) | IIRC we could probably abort here in the elf case as I think ELF is only used to produce .s format files, not object files. I guess that might be a separate/larger change so this LGTM as is keep the change small. |
Comment Actions
LGTM, we can remove any code relating to binary output with the ELF triple now. Hopefully not much longer before we can remove the ELF triple entirely.
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp | ||
---|---|---|
125 ↗ | (On Diff #149860) | Yeah we should be able to remove the ELF object writer too. |
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp | ||
---|---|---|
125 ↗ | (On Diff #149860) | Yes, I was going to fix ELF behavior until Derek pointed out the uselessness of that. So this commit just simplifies code. |