Change the return type of getStreamer() to support the use of overloading and other functions in RISCVELFStreamer.
In the process of implementing mapping symbols, the non-overloaded method in RISCVELFStreamer cannot be obtained through getStreamer().
Therefore, changing the return value of getStreamer() is beneficial to the subsequent support for mapping symbols.
https://reviews.llvm.org/D137417
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. Would have been easier to review if a separate NFC commit did the change putting the RISCVELFStreamer declaration in RISCVELFStreamer.h.
The change is simple enough I don't feel I need to insist on splitting it up prior to committing (other reviewers might feel differently though). If not splitting, please update the commit description to note how the RISCVELFStreamer declaration was moved.