File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ bool TargetMachine::shouldAssumeDSOLocal(const GlobalValue *GV) const {
204204 // don't assume the variables to be DSO local unless we actually know
205205 // that for sure. This only has to be done for variables; for functions
206206 // the linker can insert thunks for calling functions from another DLL.
207- if (TT.isWindowsGNUEnvironment () && GV->isDeclarationForLinker () &&
207+ if (TT.isOSCygMing () && GV->isDeclarationForLinker () &&
208208 isa<GlobalVariable>(GV))
209209 return false ;
210210
Original file line number Diff line number Diff line change 11; RUN: llc < %s -mtriple=x86_64-w64-mingw32 | FileCheck %s -check-prefix=CHECK-X64
2+ ; RUN: llc < %s -mtriple=x86_64-pc-cygwin | FileCheck %s -check-prefix=CHECK-X64
23; RUN: llc < %s -mtriple=i686-w64-mingw32 | FileCheck %s -check-prefix=CHECK-X86
34; RUN: llc < %s -mtriple=i686-w64-mingw32-none-elf | FileCheck %s -check-prefix=CHECK-X86-ELF
45
You can’t perform that action at this time.
0 commit comments