aboutsummaryrefslogtreecommitdiff
path: root/tools/lto/LTOModule.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-02 03:33:31 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-02 03:33:31 +0000
commit1fcbca05db736afc3e555aadc14ae3a5bef59198 (patch)
tree11858d1fb857a8578981839b28723b45b3d7eda6 /tools/lto/LTOModule.h
parenta4bd58b0f0d6ca33ff230aff450c9f2b94934bff (diff)
It could come about that we parse the inline ASM before we get a potential
definition for it. In that case, we want to wait for the potential definition before we create a symbol for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOModule.h')
-rw-r--r--tools/lto/LTOModule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lto/LTOModule.h b/tools/lto/LTOModule.h
index cafb927abf..6280c6770d 100644
--- a/tools/lto/LTOModule.h
+++ b/tools/lto/LTOModule.h
@@ -53,6 +53,7 @@ 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;