[PATCH] D153097: [RISCV] Make linker-relaxable instructions terminate MCDataFragment

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 22:03:21 PDT 2023


barannikov88 added inline comments.


================
Comment at: llvm/lib/MC/MCELFStreamer.cpp:634
+    DF->setLinkerRelaxable();
   DF->getContents().append(Code.begin(), Code.end());
 
----------------
* Maybe add a new fixup flag to `MCFixupKindInfo.h` and check if it is set?
* Can Fixups contain more than one element? If it can, why are you checking only the last one?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153097



More information about the llvm-commits mailing list