================
@@ -3572,6 +3574,41 @@ void CodeGenModule::AddDependentLib(StringRef Lib) {
   LinkerOptionsMetadata.push_back(llvm::MDNode::get(C, MDOpts));
 }
 
+/// Process copyright pragma and create LLVM metadata.
+/// #pragma comment(copyright, "string") embeds copyright information into the
+/// .text section of the object file as read-only data. The string is
+/// loaded into memory when the program runs and survives into the final
+/// executable or shared library.
+///
+/// Example: #pragma comment(copyright, "Copyright string")
----------------
hubert-reinterpretcast wrote:

Comment says too much.
```suggestion
```

https://github.com/llvm/llvm-project/pull/178184
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to