Adds the midipix target for windows hosts.
Details
- Reviewers
- None
Diff Detail
Event Timeline
Needs feedback from midipix.
I have left a few notes.
| include/llvm/ADT/Triple.h | ||
|---|---|---|
| 536 | Should we have a separate value called isOSMidipix() instead incase we support other hosts with a middle posix layer such as OSX, BSD, Consoles etc. | |
| lib/Analysis/TargetLibraryInfo.cpp | ||
| 145 | Are these lib functions available midipix even though not on cygwin or mingw? | |
| lib/Support/Triple.cpp | ||
| 896 | LLVM has a 4 part triplet, crazy I know. Example of mingw is x86_64-pc-windows-gnu which converts as x86_64-pc-mingw32 Comments? | |
| lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp | ||
| 62 | Not sure what is going on here? | |
| 176 | We might have to add a new flavor similar to X86MCAsmInfoGNUCOFFcalled X86MCAsmInfoMIDIPIXCOFF where support for .got is added. | |
| lib/Target/X86/X86FrameLowering.cpp | ||
| 724 | Do we just use alloca on midipix and never chkstk? | |
| lib/Target/X86/X86ISelDAGToDAG.cpp | ||
| 657 | I assume we still need to emit the __main special code for this target? | |
| lib/Target/X86/X86ISelLowering.cpp | ||
| 461 | Is the lowering the same as mingw here? | |
| 2825 | Same as above for the main vs __main hook | |
| lib/Target/X86/X86Subtarget.h | ||
| 547 | Same as above, should we convert into 2 functions? | |
| tools/lli/lli.cpp | ||
| 539 | Again handler for __main hooking | |
Should we have a separate value called isOSMidipix() instead incase we support other hosts with a middle posix layer such as OSX, BSD, Consoles etc.