Home
last modified time | relevance | path

Searched refs:backrefs (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/lld/test/ELF/
H A Dwarn-backrefs.s11 # RUN: ld.lld --fatal-warnings --warn-backrefs %t1.o %t2.a -o /dev/null
15 # RUN: ld.lld --fatal-warnings --warn-backrefs %t1.lds -o /dev/null
18 ## Warn unless the archive is excluded by --warn-backrefs-exclude
21 # RUN: ld.lld --warn-backrefs --no-warn-backrefs %t2.a %t1.o -o /dev/null 2>&1 | count 0
23 # RUN: ld.lld --warn-backrefs --warn-backrefs-exclude='*3.a' %t2.a %t1.o -o /dev/null 2>&1 | FileCh…
24 # RUN: ld.lld --fatal-warnings --warn-backrefs --warn-backrefs-exclude='*2.a(*2.o)' %t2.a %t1.o -o …
25 # RUN: ld.lld --fatal-warnings --warn-backrefs --warn-backrefs-exclude '*2.a(*2.o)' \
26 # RUN: --warn-backrefs-exclude not_exist %t2.a %t1.o -o /dev/null
27 ## Without --warn-backrefs, --warn-backrefs-exclude is ignored.
32 # RUN: ld.lld --fatal-warnings --warn-backrefs %t2.lds -o /dev/null
[all …]
/llvm-project-15.0.7/lld/docs/ELF/
H A Dwarn_backrefs.rst1 --warn-backrefs
4 ``--warn-backrefs`` gives a warning when an undefined symbol reference is
37 The ``warn-backrefs`` option provides information that helps identify cases
40 | % ld.lld --warn-backrefs ... -lB -lA
43 | % ld.lld --warn-backrefs ... --start-lib B/b.o --end-lib --start-lib A/a.o --end-lib
46 …# To suppress the warning, you can specify --warn-backrefs-exclude=<glob> to match B/b.o or B.a(b.…
48 The ``--warn-backrefs`` option can also provide a check to enforce a
90 * ``A.a B A2.a``: similar to the above case but ``--warn-backrefs`` does not
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dwarn-backrefs.ll7 ; RUN: ld.lld --warn-backrefs --start-lib %tb.o --end-lib %ta.o -o /dev/null 2>&1 | FileCheck %s
/llvm-project-15.0.7/llvm/lib/Support/
H A Dregex2.h155 int backrefs; /* does it use back references? */ member
H A Dregengine.inc185 /* this loop does only one repetition except for backrefs */
194 if (nmatch == 0 && !g->backrefs)
207 if (nmatch == 1 && !g->backrefs)
220 if (!g->backrefs && !(m->eflags&REG_BACKR)) {
239 assert(g->backrefs); /* must be back references doing it */
H A Dregcomp.c354 g->backrefs = 0; in llvm_regcomp()
532 p->g->backrefs = 1; in p_ere_exp()
733 p->g->backrefs = 1; in p_simp_re()
/llvm-project-15.0.7/lld/ELF/
H A DOptions.td170 HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">;
384 HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">;
465 defm warn_backrefs: BB<"warn-backrefs",
470 : EEq<"warn-backrefs-exclude",
472 "which should be ignored for --warn-backrefs.">,