summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-16 08:25:41 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-16 08:25:41 +0000
commit84ac4d5a2a8fd0e6f95ec46088c0ca7bb63423ac (patch)
tree21a10b4aece3d37416044ea441f759f25ea709cb /lib/CodeGen/MachineModuleInfo.cpp
parente70c526d59e92048c89281d1b7011af0b1d9ee95 (diff)
downloadllvm-84ac4d5a2a8fd0e6f95ec46088c0ca7bb63423ac.tar.gz
llvm-84ac4d5a2a8fd0e6f95ec46088c0ca7bb63423ac.tar.bz2
llvm-84ac4d5a2a8fd0e6f95ec46088c0ca7bb63423ac.tar.xz
X86-Windows: Emit an undefined global __fltused symbol when targeting Windows
if any floating point arguments are passed to an external function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index 347d8c7b2a..25dda0a4c3 100644
--- a/lib/CodeGen/MachineModuleInfo.cpp
+++ b/lib/CodeGen/MachineModuleInfo.cpp
@@ -256,7 +256,8 @@ void MMIAddrLabelMapCallbackPtr::allUsesReplacedWith(Value *V2) {
MachineModuleInfo::MachineModuleInfo(const MCAsmInfo &MAI)
: ImmutablePass(ID), Context(MAI),
ObjFileMMI(0),
- CurCallSite(0), CallsEHReturn(0), CallsUnwindInit(0), DbgInfoAvailable(false){
+ CurCallSite(0), CallsEHReturn(0), CallsUnwindInit(0), DbgInfoAvailable(false),
+ CallsExternalFunctionWithFloatingPointArguments(false) {
// Always emit some info, by default "no personality" info.
Personalities.push_back(NULL);
AddrLabelSymbols = 0;