ARM: unify symbol name retrieval
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 7 Jul 2014 05:18:22 +0000 (05:18 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 7 Jul 2014 05:18:22 +0000 (05:18 +0000)
commit1eb4a28b441bcc46b1855e835a905575b98b7cc2
treeff8d0ba40f99137c54c71e31780202980a62d5d3
parent4473c1943ffd41ce0ed6898f688b8f75c6a58dd9
ARM: unify symbol name retrieval

Ensure that all paths that retrieve the symbol name go through GetARMGVSymbol
rather than getSymbol.  This is desirable so that any global symbol mangling can
be centralised to this function.  The motivation for this is handling of symbols
that are marked as having dll import dll storage.  Such a symbol requires an
extra load that is currently handled in the backend and a __imp_ prefix on the
symbol name.

llvm-svn: 212429
llvm/lib/Target/ARM/ARMAsmPrinter.cpp