summaryrefslogtreecommitdiff
path: root/test/fuzzer/gc-sections.test
AgeCommit message (Collapse)Author
2018-07-12[SanitizerCoverage] Add associated metadata to 8-bit counters.Matt Morehouse
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
2018-07-12[libFuzzer] Use lld-available for gc-sections.test.Matt Morehouse
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
2018-06-15[libFuzzer] Avoid -fuse-ld=lld on gc-sections.Matt Morehouse
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
2018-06-15[SanitizerCoverage] Add associated metadata to pc-tables.Matt Morehouse
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
2017-09-15[libFuzzer] add linux-specific test for gc-sectionsKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313421 91177308-0d34-0410-b5e6-96231b3b80d8