summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
AgeCommit message (Expand)AuthorFilesLines
2018-03-03Codegen C - Avoid warning from msvc changeJohn Hodge1-1/+1
2018-03-03Codegen C - Avoid attempting to get type of a non-LValue when looking for ZSTsJohn Hodge1-6/+9
2018-03-03Codegen C - Fix ordering of InterlockedCompareExchange argumentsJohn Hodge1-3/+4
2018-03-03Codegen C - A few more MSVC compile fixes, now compiling (after patching libs...John Hodge1-5/+19
2018-03-03Codegen C - Work around InterlockedExchangeSubtract not existing for all type...John Hodge1-2/+6
2018-03-03Codegen C - More work with MSVC support (darn atomics)John Hodge1-59/+82
2018-02-28Codegen C - MSVC fiddling still, fix compile error on gccJohn Hodge1-7/+37
2018-02-25Codegen C - More work on MSVC functionsJohn Hodge1-13/+43
2018-02-25Codegen C - Literals and omitted ZSTsJohn Hodge1-4/+19
2018-02-25Codegen C - Don't add `_d` field when there's an unsizedJohn Hodge1-1/+1
2018-02-25Codegen C - Minor fix with vtable handling, more work on MSVC zstsJohn Hodge1-6/+29
2018-02-25HIR+Codegen C - Encode drop/size/align in VTables at HIR level, working on MS...John Hodge1-96/+213
2018-02-19Codegen C - Fix bad attempt at making MSVC workJohn Hodge1-8/+5
2018-02-18Codegen C - Still trying to make MSVC workJohn Hodge1-4/+24
2018-02-11Codegen C - Fix warnings due to incorrect signs of enum variantsJohn Hodge1-34/+41
2018-02-11Codegen C - Fix some minor issuesJohn Hodge1-11/+11
2018-02-10Trans - Fix mismatches between mrustc's sizings and C's sizingsJohn Hodge1-14/+42
2018-02-04Trans - Fixes to edge cases with enum variantsJohn Hodge1-2/+10
2018-02-04Codegen C - Avoid ICE with gcc 5.4.0 (ubuntu), clean up some warningsJohn Hodge1-5/+6
2018-02-04Trans - mingw32 target attempt (still being worked on)John Hodge1-56/+226
2018-02-01Codegen C - Minor fixes from target structure layoutJohn Hodge1-64/+75
2018-01-27Trans - Move struct/enum layout calculation to target.cppJohn Hodge1-318/+190
2018-01-24MSVC - Fiddling about trying to make C code compileJohn Hodge1-4/+65
2018-01-17Codegen C - Switch back to using $CC or gccJohn Hodge1-3/+6
2018-01-14Codegen C - Add forgotten 'break' to avoid emitting msvc code on gccJohn Hodge1-0/+1
2018-01-14MIR Codegen C - Continued work with MSVC codegen (still not working)John Hodge1-72/+190
2018-01-13Trans - Add compiler triple/arch to the target specJohn Hodge1-5/+5
2018-01-13Codegen - Support writing the build command to a file (instead of running it)John Hodge1-1/+6
2018-01-01Codegen C - Remove hacky null pointer referenceJohn Hodge1-15/+26
2017-12-31Codegen - Remove need for `-z muldefs`John Hodge1-10/+19
2017-12-30Codegen C - Remove dead code, fix warning with mainJohn Hodge1-91/+1
2017-12-29Fix enums with `repr(u64)`Adam Chodorowski1-1/+1
2017-12-09HIR+Trans - Handling of various enum reprsJohn Hodge1-28/+30
2017-12-02Codegen C - Fiddling with SwitchValue handlingJohn Hodge1-53/+91
2017-11-30Codegen C - Structured SwitchValue partial support, unify Switch handlingJohn Hodge1-33/+6
2017-11-25Codegen C - Better error messages for bad SwitchJohn Hodge1-2/+2
2017-11-24Codegen C - Generate call_mut for both Fn and FnMutJohn Hodge1-7/+12
2017-11-18Codegen C - Fix bad SwitchValue with signedJohn Hodge1-1/+1
2017-11-18Codegen - Fiddling with MSVC support (not quite there)John Hodge1-20/+1
2017-11-18Codegen C - Various attempts at making MSVC workJohn Hodge1-39/+154
2017-11-18Codegen C - Fiddling with MSVCJohn Hodge1-4/+4
2017-11-05Trans - Calculate sizes, alignment, and representationJohn Hodge1-8/+7
2017-11-05MIR - Use SwitchValue terminatorJohn Hodge1-2/+49
2017-11-01All - Clean up a few minor errors (pointed out in #31)John Hodge1-1/+1
2017-11-01HIR - Refactor enums to only embed a single field (and give variants types)John Hodge1-204/+127
2017-10-14Codegen C - Escape trigraphs in stringsJohn Hodge1-63/+53
2017-09-24LoadCrates - Support loading crates that might collide (and handle name colli...John Hodge1-2/+2
2017-09-23Codegen C - A few MSVC fixesJohn Hodge1-30/+38
2017-09-23Codegen C - Use static when a destructor would be locally defined, extern oth...John Hodge1-3/+15
2017-09-22Trans - Little fixes for MSVC 32-bitJohn Hodge1-6/+34