summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-09 22:09:53 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-09 22:09:53 +0000
commit9fe51fdf184df8030f98ec70d5349e7bcd75e0f2 (patch)
tree7bc46c48941959ba9d92d9615b311e568562ed0c /llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
parentbd1cb792d32c28e887387611fc0aba8638a32756 (diff)
downloadbcm5719-llvm-9fe51fdf184df8030f98ec70d5349e7bcd75e0f2.tar.gz
bcm5719-llvm-9fe51fdf184df8030f98ec70d5349e7bcd75e0f2.zip
Move dllimport name mangling to IR mangler.
This ensures that LTO clients see the correct external symbol name. Differential Revision: http://reviews.llvm.org/D10318 llvm-svn: 239437
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h')
-rw-r--r--llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h b/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
index 4289a73e9d6..6c8f0ea34a0 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
@@ -297,17 +297,12 @@ namespace ARMII {
/// just that part of the flag set.
MO_OPTION_MASK = 0x3f,
- /// MO_DLLIMPORT - On a symbol operand, this represents that the reference
- /// to the symbol is for an import stub. This is used for DLL import
- /// storage class indication on Windows.
- MO_DLLIMPORT = 0x40,
-
/// MO_NONLAZY - This is an independent flag, on a symbol operand "FOO" it
/// represents a symbol which, if indirect, will get special Darwin mangling
/// as a non-lazy-ptr indirect symbol (i.e. "L_FOO$non_lazy_ptr"). Can be
/// combined with MO_LO16, MO_HI16 or MO_NO_FLAG (in a constant-pool, for
/// example).
- MO_NONLAZY = 0x80,
+ MO_NONLAZY = 0x40,
// It's undefined behaviour if an enum overflows the range between its
// smallest and largest values, but since these are |ed together, it can
OpenPOWER on IntegriCloud