[PATCH] D120805: [LLD] [COFF] Order .debug_* sections at the end, to avoid leaving gaps if stripped

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 03:03:31 PST 2022


mstorsjo added a comment.

Other earlier changes in the same area can be found here:

https://github.com/llvm/llvm-project/commit/98ff9f845ded3df23b5c0a6386e3bba96d9bb557 / D49351 <https://reviews.llvm.org/D49351> - "Sort .reloc before all other discardable sections"
https://github.com/llvm/llvm-project/commit/13ac40ea6ef9621838068a70cbef86d544ee9700 / D11655 <https://reviews.llvm.org/D11655> - "Sort output sections which start with .debug to the end of the file"

(Despite the commit subject in the latter of those, it only looked at the `IMAGE_SCN_MEM_DISCARDABLE` flag.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120805



More information about the llvm-commits mailing list