OSDN Git Service

IR: Aliases don't belong to an explicit comdat
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 10 Jul 2014 16:26:10 +0000 (16:26 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 10 Jul 2014 16:26:10 +0000 (16:26 +0000)
commitc1a6d65d21545ad1622e2f8041c6a55756b71599
tree6bd5a156279d73713b13f97437836b6f489dd163
parentb1beb01d822750b39291c8d059a01de5d4c6f422
IR: Aliases don't belong to an explicit comdat

Aliases inherit their comdat from their aliasee, they don't have an
explicit comdat.

This fixes PR20279.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212732 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AsmWriter.cpp
test/Feature/comdat.ll