[PATCH] D43069: [ELF] - Report error if removed empty output section declaration used undefined symbols.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 18 23:42:57 PST 2018
>> Index: ELF/LinkerScript.cpp
>> ===================================================================
>> --- ELF/LinkerScript.cpp
>> +++ ELF/LinkerScript.cpp
>> @@ -765,6 +765,13 @@
>> }
>>
>> static bool isAllSectionDescription(const OutputSection &Cmd) {
>> + // We do not want to remove sections that have custom address or align
>> + // expressions set even if them are empty. We keep them because still
>> + // want to be sure that any expressions can be evaluated and report
>> + // an error otherwise.
>
>
>"because still" should probably be "because we".
>
>LGTM with that.
>
>Cheers,
>Rafael
Rui, are you OK to land it ?
(will update diff with fixed comment in a minute).
George.
More information about the llvm-commits
mailing list