[PATCH] D51902: [SanitizerCoverage] Create comdat for global arrays.
Matt Morehouse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 10 17:58:20 PDT 2018
morehouse created this revision.
morehouse added a reviewer: eugenis.
Herald added subscribers: hiraditya, eraman.
Place global arrays in comdat sections with their associated functions.
This makes sure they are stripped along with the functions they
reference, even on the BFD linker.
https://reviews.llvm.org/D51902
Files:
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
llvm/test/Instrumentation/SanitizerCoverage/div-tracing.ll
llvm/test/Instrumentation/SanitizerCoverage/gep-tracing.ll
llvm/test/Instrumentation/SanitizerCoverage/inline-8bit-counters.ll
llvm/test/Instrumentation/SanitizerCoverage/pc-table.ll
llvm/test/Instrumentation/SanitizerCoverage/tracing.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51902.164779.patch
Type: text/x-patch
Size: 6225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180911/2aed9bfd/attachment.bin>
More information about the llvm-commits
mailing list