Files
clang-p2996/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Jason Eckhardt 7cf8addc2d [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.
2025-01-21 18:24:33 -06:00

104 KiB