File tree 2 files changed +2
-1
lines changed
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 {
204
204
// don't assume the variables to be DSO local unless we actually know
205
205
// that for sure. This only has to be done for variables; for functions
206
206
// the linker can insert thunks for calling functions from another DLL.
207
- if (TT.isWindowsGNUEnvironment () && GV->isDeclarationForLinker () &&
207
+ if (TT.isOSCygMing () && GV->isDeclarationForLinker () &&
208
208
isa<GlobalVariable>(GV))
209
209
return false ;
210
210
Original file line number Diff line number Diff line change 1
1
; 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
2
3
; RUN: llc < %s -mtriple=i686-w64-mingw32 | FileCheck %s -check-prefix=CHECK-X86
3
4
; RUN: llc < %s -mtriple=i686-w64-mingw32-none-elf | FileCheck %s -check-prefix=CHECK-X86-ELF
4
5
You can’t perform that action at this time.
0 commit comments