[PATCH] D60509: Mark non-alloc sections after marking alloc sections

Robert O'Callahan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 13:36:44 PDT 2019


rocallahan added inline comments.


================
Comment at: lld/ELF/InputFiles.h:241
+  // handled in a special way by gc.
   bool HasLiveCodeOrData = false;
 
----------------
This comment seems to get the meaning of the boolean the wrong way around? It's safe to discard debuginfo when this is *false*.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60509





More information about the llvm-commits mailing list