[lld] lld: add support for NOCROSSREFS(_TO) (PR #95714)

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 17:03:08 PDT 2024


================
@@ -256,6 +256,11 @@ struct InsertCommand {
   StringRef where;
 };
 
+struct CrossRefList {
+  SmallVector<StringRef, 2> refs;
----------------
mysterymath wrote:

`refs` -> `outputSections`. This makes the intended interpretation of the strings clear at use, and the scope is wide enough to avoid abbreviations.

https://github.com/llvm/llvm-project/pull/95714


More information about the llvm-commits mailing list