Age | Commit message (Collapse) | Author |
|
Summary:
This allows counters associated with unused functions to be
dead-stripped along with their functions. This approach is the same one
we used for PC tables.
Fixes an issue where LLD removes an unused PC table but leaves the 8-bit
counter.
Reviewers: eugenis
Reviewed By: eugenis
Subscribers: llvm-commits, hiraditya, kcc
Differential Revision: https://reviews.llvm.org/D49264
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336941 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
The lld feature is never available for libFuzzer tests, so
gc-sections.test never actually runs.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336926 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
The bot doesn't recognize lld as a linker even though it has the
property lld-available.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334864 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
Summary:
Using associated metadata rather than llvm.used allows linkers to
perform dead stripping with -fsanitize-coverage=pc-table. Unfortunately
in my local tests, LLD was the only linker that made use of this metadata.
Partially addresses https://bugs.llvm.org/show_bug.cgi?id=34636 and fixes
https://github.com/google/sanitizers/issues/971.
Reviewers: eugenis
Reviewed By: eugenis
Subscribers: Dor1s, hiraditya, llvm-commits, kcc
Differential Revision: https://reviews.llvm.org/D48203
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334858 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313421 91177308-0d34-0410-b5e6-96231b3b80d8
|