[lld] r276825 - [ELF/LinkerScript] Support EXCLUDE_FILE inside KEEP.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 09:49:22 PDT 2016


> +  if (skip("EXCLUDE_FILE")) {
> +    expect("(");
> +    while (!Error && !skip(")"))
> +      InCmd->ExcludedFiles.push_back(next());
>      InCmd->Patterns.push_back(next());
> +    expect(")");

There can be only one section pattern after EXCLUDE_FILE?

Cheers,
Rafael


More information about the llvm-commits mailing list