[PATCH] D91455: [XCOFF][AIX] Generate LSDA data and compact unwind section on AIX

David Tenty via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 30 11:04:01 PST 2020


daltenty added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/AIXException.cpp:48
+  const DataLayout &DL = MMI->getModule()->getDataLayout();
+  const unsigned PointerSize = DL.getPointerSizeInBits() == 64 ? 8 : 4;
+
----------------
nit: Why not just call `getPointerSize()` instead? (`getPointerSizeInBits()` does `getPointerSize()*8` under the hood anyway)


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

https://reviews.llvm.org/D91455



More information about the cfe-commits mailing list