[all-commits] [llvm/llvm-project] 7cf8ad: [TLOF][NFC] Make emitLinkerDirectives virtual and ...

Jason Eckhardt via All-commits all-commits at lists.llvm.org
Tue Jan 21 16:24:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cf8addc2d487154dfb65db70829abc943345302
      https://github.com/llvm/llvm-project/commit/7cf8addc2d487154dfb65db70829abc943345302
  Author: Jason Eckhardt <jeckhardt at nvidia.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
    M llvm/include/llvm/Target/TargetLoweringObjectFile.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp

  Log Message:
  -----------
  [TLOF][NFC] Make emitLinkerDirectives virtual and public. (#123773)

Today, emitLinkerDirectives is private to TLOFCOFF-- it isolates parsing
and processing of the linker options. Similar processing is also done by
other TLOFs inline within emitModuleMetadata. This patch promotes
emitLinkerDirectives to a virtual (public) method so that this handling
is similarly isolated in the other TLOFs.

This also enables downstream targets to override just this handling
instead of the whole of emitModuleMetadata.



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