We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac6be6 commit 694e20eCopy full SHA for 694e20e
llvm/lib/Target/TargetMachine.cpp
@@ -204,7 +204,7 @@ bool TargetMachine::shouldAssumeDSOLocal(const GlobalValue *GV) const {
204
// don't assume the variables to be DSO local unless we actually know
205
// that for sure. This only has to be done for variables; for functions
206
// the linker can insert thunks for calling functions from another DLL.
207
- if (TT.isWindowsGNUEnvironment() && GV->isDeclarationForLinker() &&
+ if (TT.isOSCygMing() && GV->isDeclarationForLinker() &&
208
isa<GlobalVariable>(GV))
209
return false;
210
0 commit comments