[PATCH] D30188: [ELF] - Do not segfault when using --gc-sections with linker script

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 07:57:13 PST 2017


>I am not sure I fully understand what is going on with this
>testcase. Why do you need text.bar to be non-SHF_ALLOC? You just need a
>section to not be live, right?

Yeah, I just wanted to show that we collected the one of sections, 
I thought it is easiest way since we never collect non-alloc.
Your ways is more stable probably.

Thanks !

George.


More information about the llvm-commits mailing list