[llvm] [clang] [LinkerWrapper] Support relocatable linking for offloading (PR #80066)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 10:18:22 PST 2024
================
@@ -20,10 +20,12 @@ using EntryArrayTy = std::pair<GlobalVariable *, GlobalVariable *>;
/// \param EntryArray Optional pair pointing to the `__start` and `__stop`
/// symbols holding the `__tgt_offload_entry` array.
/// \param Suffix An optional suffix appended to the emitted symbols.
+/// \param Relocatable Indicate if we need to change the offloading section.
----------------
Artem-B wrote:
Nit: "Indicate whether the binary is a relocatable object" may work a bit better for describing intent. Current description seems to describe an implementation detail.
https://github.com/llvm/llvm-project/pull/80066
More information about the llvm-commits
mailing list