summaryrefslogtreecommitdiff
path: root/src/trans/codegen_c.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-11-10Codegen C - Fix errors from travis OSXJohn Hodge1-1/+19
2019-11-03Codegen C - Fix a few MSVC compilation problems.John Hodge1-27/+30
2019-11-03Codegen C - Fix compilation errors on MSVC (and some warnings on GCC)John Hodge1-5/+12
2019-10-29Codegen C - More inline assembly hackeryJohn Hodge1-0/+37
2019-10-27Codegen C - Fix msvc atomic_storeJohn Hodge1-5/+1
2019-10-27MSVC - General compilation fixes, `hello.exe` building and runningJohn Hodge1-48/+9
2019-10-27Codegen C - Fix some MSVC compilation errors (still has extern handle errors)John Hodge1-33/+112
2019-10-26Merge remote-tracking branch 'remotes/origin/master' into nightly-1.29John Hodge1-19/+26
2019-10-19Codegen C - Tweak handling of dylibs at linkingJohn Hodge1-1/+4
2019-10-12Codegen C - Don't link proc macros into final executableJohn Hodge1-7/+13
2019-10-05Codegen C - Fix dylib linking logic to ignore proc macrosJohn Hodge1-1/+4
2019-08-19Codegen C - Don't emit call return assignment of ZSTsJohn Hodge1-0/+5
2019-08-18Codegen C - Don't emit any assignment of ZSTsJohn Hodge1-2/+2
2019-08-11Codegen C - Remove hard-coded mangled namesJohn Hodge1-3/+10
2019-08-05Codegen MMIR - Selective drop glueJohn Hodge1-0/+1
2019-07-20Codegen C - Fix Box drop impl not being overriddenJohn Hodge1-9/+21
2019-07-13Trans sizeof - Fix bug where sizeof<*const T> would return 2*ptr if T was ?SizedJohn Hodge1-69/+25
2019-06-30Codegen C - Fix incorrect size in vtablesJohn Hodge1-5/+12
2019-06-29All - Working dylib support (not used yet, needs rpath/absolute)John Hodge1-1/+28
2019-06-29Trans - Rework to potentially support dynamic librariesJohn Hodge1-15/+60
2019-06-22Expand/Trans - Better handling of #[panic_implementation]John Hodge1-3/+8
2019-06-08Codegen C - (minor) Include drop statement in output commentsJohn Hodge1-0/+1
2019-06-02MIR - Refactor LValue to reduce size and linked-list-ness (seems to have had ↵John Hodge1-138/+149
a ~10% reduction in memory usage)
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of ↵John Hodge1-6/+5
std::string for paths/identifiers
2019-05-12Codegen C - (minor) Commenting and extra assertionsJohn Hodge1-3/+7
2019-05-06Codegen C - Mark llvm.* shims as staticJohn Hodge1-0/+2
2019-05-05MIR - Wrap HIR::Path-s in MIR::Constant in unique_ptrJohn Hodge1-4/+4
2019-04-28Trans Monomorph - Associated constants left as DeferJohn Hodge1-2/+15
2019-04-25MIR - Reduce size of LValue::Static by putting the HIR::Path behind a pointerJohn Hodge1-1/+1
2019-03-03Codegen C - Cast to int128_t for literalsJohn Hodge1-0/+2
2019-03-03Codegen C - Don't emit extern typesJohn Hodge1-2/+3
2019-02-24Implement compiler check TODO. (#112)Markus Reiter1-7/+8
Checks if `<backend>-gcc` exists before trying to call it, and does so before trying $CC
2019-02-23Codegen C - Fix msvc clz/ctzJohn Hodge1-5/+9
2019-02-03HIR - Minimally-tested support for `extern { type }`John Hodge1-0/+11
2018-12-30Codegen C - Fix integer printing quirksJohn Hodge1-3/+13
2018-12-30Codegen C - Add hacky compiler-provided glueJohn Hodge1-0/+85
2018-12-29Codegen C - Handle 1.29 box_free calling convention (hack)John Hodge1-12/+23
2018-12-29Lower MIR - Handing of irrefutable enum matches, some other tweaksJohn Hodge1-0/+1
2018-12-22Codegen C - Fix incorrect memory orderingsJohn Hodge1-2/+3
2018-12-15Targets - Add alignment to the target specs, along with a saveback test.John Hodge1-4/+7
2018-12-09Codegen C - Fix incorrect use of ZST in enum constructor shim (fixes #86)John Hodge1-1/+1
2018-11-04Codegen C - Fix minor OOB string readJohn Hodge1-3/+2
2018-11-03HIR Typecheck - Fixing holes from 1.29 compiler_builtinsJohn Hodge1-0/+6
2018-10-19Codegen C - Fix incorrect use of ZST in enum constructor shim (fixes #86)John Hodge1-1/+1
2018-10-03Merge branch 'master' into nightly-1.29John Hodge1-67/+246
2018-09-30Merge pull request #84 from thepowersgang/ondemand-generationJohn Hodge (Mutabah)1-3/+8
Generate MIR when required for constant evaluation
2018-09-30Codegen C - Run destructors on ZSTs in enumsJohn Hodge1-7/+8
2018-09-22Codegen C - Fix incorrect destructor for zst enum variantsJohn Hodge1-2/+6
2018-09-09Msvc compile fixesJohn Hodge1-29/+41
2018-08-21Codegen C - Fix literals and omitted variantsJohn Hodge1-5/+5