diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-10-16 08:25:41 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-10-16 08:25:41 +0000 |
commit | 5e683250ee0ca1d0a0c2cdbc5950ec0556653113 (patch) | |
tree | 55340dcc542d2085ce06b6f722203507da6c4edb /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | d3ea25e66e1ad5d0d36e15837daca030b3301a69 (diff) | |
download | bcm5719-llvm-5e683250ee0ca1d0a0c2cdbc5950ec0556653113.tar.gz bcm5719-llvm-5e683250ee0ca1d0a0c2cdbc5950ec0556653113.zip |
X86-Windows: Emit an undefined global __fltused symbol when targeting Windows
if any floating point arguments are passed to an external function.
llvm-svn: 116665
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 347d8c7b2ab..25dda0a4c36 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/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; |