Hack the hack. If we have a situation where an ASM object is defined but isn't
authorBill Wendling <isanbard@gmail.com>
Mon, 2 Apr 2012 10:01:21 +0000 (10:01 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 2 Apr 2012 10:01:21 +0000 (10:01 +0000)
commit8ba9405c5ca9d95a61c5d575f16506ddac5d67d3
tree327d934f8fbd4d5320b8bcc863529127969af69c
parent94338594efed5575ab83b7d8d4bacb0dbf1778a3
Hack the hack. If we have a situation where an ASM object is defined but isn't
reflected in the LLVM IR (as a declare or something), then treat it like a data
object.

N.B. This isn't 100% correct. The ASM parser should supply more information so
that we know what type of object it is, and what attributes it should have.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153870 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lto/LTOModule.cpp
tools/lto/LTOModule.h