[PATCH] D32289: [ELF] - Linkerscript: support combination of linkerscript and --compress-debug-sections.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 08:04:56 PDT 2017
>> I dont think I can simply set offsets in processCommands because for case when
>> .debug_* sections are orphans: "SECTIONS { }"
>> there is no commands for them at the point of call.
>
>I guess the code adding orphan sections needs to update the offset too.
It seems logic can be simplified a bit by calculating offsets + size in OutputSection::addSection(),
I updated the patch, what do you think ?
George.
More information about the llvm-commits
mailing list