[all-commits] [llvm/llvm-project] d17db6: [LLD] [COFF] Don't create pseudo relocations for d...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Apr 18 03:30:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d17db6066d2524856fab493dd894f8396e896bc7
      https://github.com/llvm/llvm-project/commit/d17db6066d2524856fab493dd894f8396e896bc7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M lld/COFF/Writer.cpp
    A lld/test/COFF/autoimport-debug.s

  Log Message:
  -----------
  [LLD] [COFF] Don't create pseudo relocations for discardable sections (#89043)

This extends on the case from 9c970d5ecd6a85188cd2b0a941fcd4d60063ef81;
if a section is marked discardable, it won't be mapped into memory at
runtime, so there's no point in creating runtime pseudo relocations for
such sections.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list