Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(282)

Unified Diff: lib/Target/X86/X86TargetMachine.cpp

Issue 1624043: Win32 COFF Support + lit fixes Base URL: http://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: Created 13 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/X86/X86AsmBackend.cpp ('k') | test/MC/COFF/basic-coff.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/X86TargetMachine.cpp
===================================================================
--- lib/Target/X86/X86TargetMachine.cpp (revision 105819)
+++ lib/Target/X86/X86TargetMachine.cpp (working copy)
@@ -46,6 +46,11 @@ static MCStreamer *createMCStreamer(const Target &T, const std::string &TT,
bool RelaxAll) {
Triple TheTriple(TT);
switch (TheTriple.getOS()) {
+ case Triple::MinGW32:
+ case Triple::MinGW64:
+ case Triple::Cygwin:
+ case Triple::Win32:
+ return createWinCOFFStreamer(Ctx, TAB, *_Emitter, _OS);
default:
return createMachOStreamer(Ctx, TAB, _OS, _Emitter, RelaxAll);
}
« no previous file with comments | « lib/Target/X86/X86AsmBackend.cpp ('k') | test/MC/COFF/basic-coff.ll » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b