summaryrefslogtreecommitdiff
path: root/tools/lto/LTOModule.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-02 10:01:21 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-02 10:01:21 +0000
commit8ba9405c5ca9d95a61c5d575f16506ddac5d67d3 (patch)
tree327d934f8fbd4d5320b8bcc863529127969af69c /tools/lto/LTOModule.h
parent94338594efed5575ab83b7d8d4bacb0dbf1778a3 (diff)
downloadllvm-8ba9405c5ca9d95a61c5d575f16506ddac5d67d3.tar.gz
llvm-8ba9405c5ca9d95a61c5d575f16506ddac5d67d3.tar.bz2
llvm-8ba9405c5ca9d95a61c5d575f16506ddac5d67d3.tar.xz
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
Diffstat (limited to 'tools/lto/LTOModule.h')
-rw-r--r--tools/lto/LTOModule.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lto/LTOModule.h b/tools/lto/LTOModule.h
index 6280c6770d..cafb927abf 100644
--- a/tools/lto/LTOModule.h
+++ b/tools/lto/LTOModule.h
@@ -53,7 +53,6 @@ private:
// _defines and _undefines only needed to disambiguate tentative definitions
StringSet _defines;
llvm::StringMap<NameAndAttributes> _undefines;
- llvm::StringMap<NameAndAttributes> _asm_defines;
std::vector<const char*> _asm_undefines;
llvm::MCContext _context;