[PATCH] D123751: Implement support for __llvm_addrsig for MachO in llvm-mc

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 12:36:51 PDT 2022


ayermolo added inline comments.


================
Comment at: llvm/lib/MC/MCMachOStreamer.cpp:34
 #include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/LEB128.h"
 #include "llvm/Support/raw_ostream.h"
----------------
I think this snuck in?


================
Comment at: llvm/lib/MC/MachObjectWriter.cpp:760
+      Asm.getContext().getObjectFileInfo()->getAddrSigSection();
+  auto &fragmentList = AddrSigSection->getFragmentList();
+  if (!fragmentList.size())
----------------
replace with actual type


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

https://reviews.llvm.org/D123751



More information about the llvm-commits mailing list