[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
================
@@ -2358,3 +2358,62 @@ template void elf::scanRelocations<ELF32LE>();
template void elf::scanRelocations<ELF32BE>();
template void elf::scanRelocations<ELF64LE>();
template void elf::scanRelocations<ELF64BE>();
+
+static bool isNoCrefFromSection(const CrossRefList &list,
----------------
mysterymath wrote:
It seems like these could be considered properties of the `[No]CrossRefList`: whether they match references from or to a given section. Accordingly, feels like they should be member functions of the list.
https://github.com/llvm/llvm-project/pull/95714
More information about the llvm-commits
mailing list