[PATCH] D76003: [ELF][test] Add test for --gc-sections + many sections
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 17:03:53 PDT 2020
MaskRay added a comment.
An -O0 llvm-mc can take ~3 seconds to produce `%t.o`, we shall be careful adding such a test.
`many-sections.s` tests how e_shnum/sh_size of SHN_UNDEF is represented when there are more than SHN_LOPRESERVE sections. Did you find something interesting with lld's --gc-sections? Does it improve coverage? If it is still needed, we can add --gc-sections into `many-sections.s`, but I want to understand we need it at first.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76003/new/
https://reviews.llvm.org/D76003
More information about the llvm-commits
mailing list