[PATCH] D131618: [WIP][Do NOT review] LLD related changes for -ffat-lto-objects support

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 10:32:08 PDT 2022


paulkirth added inline comments.


================
Comment at: lld/ELF/Driver.cpp:2636
+      for (InputSectionBase *s : f->getSections()) {
+        if (s) {
+          // Do not aggregate the .fatlto section
----------------
LLVM coding standard prefers early return/continue to avoid nesting/indentation.

see https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131618



More information about the llvm-commits mailing list