[PATCH] D145570: [RISCV][NFCI] Use common MCELFStreamer code for attribute emission

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 03:38:44 PST 2023


asb created this revision.
asb added reviewers: jonpa, kito-cheng, craig.topper, MaskRay, jrtc27, reames.
Herald added subscribers: luke, wingo, pmatos, VincentWu, vkmr, frasercrmck, rogfer01, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, kristof.beyls, arichardson.
Herald added a project: All.
asb requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD.
Herald added a project: LLVM.

D102894 <https://reviews.llvm.org/D102894> introduced common code for the emission of ELF attributes. Our implementation in RISC-V predates this, and basically copies the Arm logic at the time. This patch removes that duplication and uses the shared logic instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145570

Files:
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145570.503299.patch
Type: text/x-patch
Size: 7042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/7f2a03f0/attachment.bin>


More information about the llvm-commits mailing list