summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
AgeCommit message (Expand)AuthorFilesLines
2018-06-03Trans - Fix some minor errors from building with clangJohn Hodge1-0/+6
2018-05-27Trans - Plannin for dynamic library supportJohn Hodge1-0/+1
2018-05-26Codegen C - Don't emit destructor when type doesn't need itJohn Hodge1-0/+5
2018-05-12Trans - Support NonZero optimisation for BoxJohn Hodge1-0/+6
2018-05-05Target - Minor fixes to target.toml file loading (should work now)John Hodge1-6/+18
2018-04-01Codegen C - Fix compilation error in cargo (#66)John Hodge1-4/+16
2018-03-31Codegen C - Fix a few bugs with no ZST modeJohn Hodge1-3/+35
2018-03-30Codegen C - Fix ZST handlingJohn Hodge1-4/+23
2018-03-17Codegen C - Work around GCC5 bug by emitting a single-field struct instead of...John Hodge1-1/+12
2018-03-17Codegen C - Fix structured emission (still disabled)John Hodge1-28/+134
2018-03-17Codegen - Minor array fix for MSVCJohn Hodge1-7/+27
2018-03-17VTables - Rename vtable static to have the # at the end (helps parsing in mmir)John Hodge1-1/+1
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