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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 10:01:54 PDT 2016


On Wed, Jul 27, 2016 at 9:49 AM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
>> +  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?
>

In any example I found, yes. Extending should be trivial.

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list