[all-commits] [llvm/llvm-project] 035449: Avoid emitting a linker options section in the com...
dyung via All-commits
all-commits at lists.llvm.org
Tue May 27 14:44:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0354491bea04beb6d1db44f8ca522bfc597ab0d3
https://github.com/llvm/llvm-project/commit/0354491bea04beb6d1db44f8ca522bfc597ab0d3
Author: dyung <douglas.yung at sony.com>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/Modules/module-impl-with-link.c
Log Message:
-----------
Avoid emitting a linker options section in the compiler if it is empty. (#139821)
Recently in some of our internal testing, we noticed that the compiler
was sometimes generating an empty linker.options section which seems
unnecessary. This proposed change causes the compiler to simply omit
emitting the linker.options section if it is empty.
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