[PATCH] D75149: [ELF] --orphan-handling=: don't warn/error for unused synthesized sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 15:35:44 PST 2020


MaskRay created this revision.
MaskRay added reviewers: grimar, kees, nickdesaulniers, ruiu.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

This makes --orphan-handling= less noisy.
This change also improves our compatibility with GNU ld.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75149

Files:
  lld/ELF/LinkerScript.cpp
  lld/ELF/LinkerScript.h
  lld/ELF/Writer.cpp
  lld/test/ELF/linkerscript/orphan-report.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75149.246590.patch
Type: text/x-patch
Size: 6163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200225/8954806c/attachment.bin>


More information about the llvm-commits mailing list