[lld] [ELF] Add internal InputFile (PR #78944)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 08:53:51 PST 2024


================
@@ -473,6 +473,7 @@ struct Ctx {
                  std::pair<const InputFile *, const InputFile *>>
       backwardReferences;
   llvm::SmallSet<llvm::StringRef, 0> auxiliaryFiles;
+  InputFile *internalFile;
----------------
smithp35 wrote:

Will be worth leaving a comment here, perhaps:
```
InputFile for linker created symbols with no source location.
```

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


More information about the llvm-commits mailing list