HomePhabricator

[TargetMachine] Don't try to create COFFSTUB references on windows on non-COFF

Description

[TargetMachine] Don't try to create COFFSTUB references on windows on non-COFF

This avoids spurious relocation types for windows/elf targets.

Differential Revision: https://reviews.llvm.org/D66401