summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/MicrosoftCXXABI.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-07-13 04:56:11 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-07-13 04:56:11 +0000
commitebc741168bc0bd25666282979b318370477bd405 (patch)
treec7427b5e0b87f34d55db94ead57914cc0984499d /clang/lib/CodeGen/MicrosoftCXXABI.cpp
parent299674e94fe67203866fe2a9c60b2172bee5f915 (diff)
downloadbcm5719-llvm-ebc741168bc0bd25666282979b318370477bd405.tar.gz
bcm5719-llvm-ebc741168bc0bd25666282979b318370477bd405.zip
IR: Allow comdats to be applied to globals with internal linkage
Our verifier check for checking if a global has local linkage was too strict. Forbid private linkage but permit local linkage. Object file formats permit this and forbidding it prevents elimination of unused, internal, vftables under the MSVC ABI. llvm-svn: 212900
Diffstat (limited to 'clang/lib/CodeGen/MicrosoftCXXABI.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud