aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-09-17 21:10:49 +0000
committerReid Kleckner <rnk@google.com>2019-09-17 21:10:49 +0000
commit23e872a3d0548dac30b5d282506198dddfe89b2a (patch)
tree9bb149cb2be3ef9f6f1b2521a3101d27c680b88a /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
parent0c8e4a2e0d42b6af8a98e5f2b212f2a4954f5f95 (diff)
downloadllvm-23e872a3d0548dac30b5d282506198dddfe89b2a.zip
llvm-23e872a3d0548dac30b5d282506198dddfe89b2a.tar.gz
llvm-23e872a3d0548dac30b5d282506198dddfe89b2a.tar.bz2
[PGO] Don't use comdat groups for counters & data on COFF
For COFF, a comdat group is really a symbol marked IMAGE_COMDAT_SELECT_ANY and zero or more other symbols marked IMAGE_COMDAT_SELECT_ASSOCIATIVE. Typically the associative symbols in the group are not external and are not referenced by other TUs, they are things like debug info, C++ dynamic initializers, or other section registration schemes. The Visual C++ linker reports a duplicate symbol error for symbols marked IMAGE_COMDAT_SELECT_ASSOCIATIVE even if they would be discarded after handling the leader symbol. Fixes coverage-inline.cpp in check-profile after r372020. llvm-svn: 372182
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions