Currently there are 2 duplicate implementation, and I want to add
a use in a 3rd place. Combine them in lib/BinaryFormat so they can
be shared.
Also update the return values of the reloc and symbol type toString functions to use StringRef.
Differential D126553
[WebAssembly] Consolidate sectionTypeToString in BinaryFormat [NFC] dschuff on May 27 2022, 8:31 AM. Authored by
Details Currently there are 2 duplicate implementation, and I want to add Also update the return values of the reloc and symbol type toString functions to use StringRef.
Diff Detail
Event Timeline
Comment Actions include all the diffs
|
Use std::string for consistency with the two above? Or convert them all the StringRef?