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

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 11:02:42 PDT 2024


================
@@ -87,6 +87,7 @@ class ScriptParser final : ScriptLexer {
   void readTarget();
   void readVersion();
   void readVersionScriptCommand();
+  void readNoCrossRefs(bool to = false);
----------------
mysterymath wrote:

The no-argument version of this isn't used, and it's unclear why `false` is more default than `true`. Accordingly, seems best to make this a mandatory parameter.

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


More information about the llvm-commits mailing list