llvm-project/llvm/test/Instrumentation
Wei Mi 3cc9204a52 Put profile variables of COMDAT functions to it's own COMDAT group.
In -fprofile-instr-generate compilation, to remove the redundant profile
variables for the COMDAT functions, these variables are placed in the same
COMDAT group as its associated function. This way when the COMDAT function
is not picked by the linker, those profile variables will also not be
output in the final binary. This may cause warning when mix link objects
built w and wo -fprofile-instr-generate.

This patch puts the profile variables for COMDAT functions to its own COMDAT
group to avoid the problem.

Patch by xur.
Differential Revision: http://reviews.llvm.org/D12248

llvm-svn: 248440
2015-09-23 22:40:45 +00:00
..
AddressSanitizer [ASan] Don't instrument globals in .preinit_array/.init_array/.fini_array 2015-09-15 23:05:48 +00:00
BoundsChecking Add a bunch of CHECK missing colons in tests. NFC. 2015-03-14 01:43:57 +00:00
DataFlowSanitizer [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00
InstrProfiling Put profile variables of COMDAT functions to it's own COMDAT group. 2015-09-23 22:40:45 +00:00
MemorySanitizer DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
SanitizerCoverage [sancov] Disable sanitizer coverage on functions using SEH 2015-09-03 20:18:29 +00:00
ThreadSanitizer DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00