[PATCH] D142955: [RISCV] Move RISCVELFStreamer::getRelocPairForSize to RISCVFixUpKinds.h and reuse it. NFC

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 02:10:12 PST 2023


asb added inline comments.


================
Comment at: llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h:112
+
+static inline std::pair<MCFixupKind, MCFixupKind>
+getRelocPairForSize(unsigned Size) {
----------------
I get compile errors due to missing `std::pair` and `std::make_pair`. It looks like you need to add `#include <utility>` to this file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142955/new/

https://reviews.llvm.org/D142955



More information about the llvm-commits mailing list