diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-09 00:58:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-09 00:58:53 +0000 |
commit | 9ab4e664b4d12084f72deb7305929f989a102aae (patch) | |
tree | d0f8c16b4e897b803adf6a62cce4140e57fbd70e /lib/Target/X86/X86InstrInfo.h | |
parent | c7292e4ce95518358e00eeacfce31a5f0f474ce6 (diff) | |
download | external_llvm-9ab4e664b4d12084f72deb7305929f989a102aae.zip external_llvm-9ab4e664b4d12084f72deb7305929f989a102aae.tar.gz external_llvm-9ab4e664b4d12084f72deb7305929f989a102aae.tar.bz2 |
move handling of dllimport linkage in isel, not in asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.h')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 83f0194..45f3584 100644 --- a/lib/Target/X86/X86InstrInfo.h +++ b/lib/Target/X86/X86InstrInfo.h @@ -149,6 +149,12 @@ namespace X86II { /// SYMBOL_LABEL @NTPOFF MO_NTPOFF = 11, + /// MO_DLLIMPORT - On a symbol operand "FOO", this indicates that the + /// reference is actually to the "__imp_FOO" symbol. This is used for + /// dllimport linkage on windows. + MO_DLLIMPORT = 12, + + //===------------------------------------------------------------------===// // Instruction encodings. These are the standard/most common forms for X86 // instructions. |