Commit Graph

352 Commits

Author SHA1 Message Date
gingerBill 17b0e3a1a1 Fix bit sets with custom endian underlying type 2018-12-02 19:27:42 +00:00
gingerBill 00161023cd Endian specific integers: e.g. i32 i32le i32be 2018-12-02 15:53:52 +00:00
gingerBill 784c48c9e3 Redefine how union tag size is calculated to match alignment of the union 2018-11-29 23:00:16 +00:00
gingerBill 008d8f25c8 Fix assertion on union assignment in compound literal 2018-11-29 22:50:08 +00:00
gingerBill f3a4904f21 Hack: union compound literal fix 2018-11-29 22:23:30 +00:00
gingerBill 9b063ad9a3 Fix poly proc determination by cloning the signature node 2018-11-25 17:57:49 +00:00
gingerBill c2f9bf489e Fix debug information for entities without an associated identifier 2018-11-25 17:31:53 +00:00
gingerBill e496b95881 Subset and superset operators for bit_set: < <= > >= 2018-11-25 16:19:17 +00:00
gingerBill 52dcaeb1e9 Fix transmute with cstring and integers 2018-11-22 20:59:24 +00:00
gingerBill bb62bed981 Remove assert that should have never been there 2018-11-22 09:53:08 +00:00
gingerBill bc6b8c5332 Remove dead code 2018-11-22 09:52:25 +00:00
gingerBill 6ab6447791 Fix is_type_polymorphic infinite recursion bug 2018-11-22 09:41:08 +00:00
gingerBill 3061bc8478 Fix error with polymorphic structs #279 2018-11-17 10:05:35 +00:00
gingerBill b55b1ffe14 opaque keyword and type 2018-11-11 17:08:30 +00:00
gingerBill 620d5d34f7 Fix issue with complication of -debug that is caused sometimes due to lambda procedures. 2018-11-11 11:44:55 +00:00
gingerBill 6659ceb551 Allow comparisons of cstring; Add resize 2018-10-31 10:04:30 +00:00
gingerBill 5aa591d884 Fix debug info issue 2018-10-29 22:16:43 +00:00
gingerBill efe91b1f91 Disable debug info for bit fields 2018-10-29 18:10:44 +00:00
gingerBill 2ddb27869b Built-in procedure #defined 2018-10-27 18:44:28 +01:00
gingerBill 2bd85e764e Merge pull request #260 from lachsinc/master
[WIP] Provide llvm with more debug info (for Visual Studio debugger support)
2018-10-24 09:40:05 +01:00
gingerBill ce2e23849e Fix context initialization 2018-10-20 16:34:56 +01:00
gingerBill 099995e7dd Add basics for context-based Logger 2018-10-20 13:02:30 +01:00
gingerBill 72f4186b21 Fix atomic.odin 2018-10-20 12:55:48 +01:00
gingerBill b171cc41e6 __atomic_* "intrinsics" using LLVM instructions 2018-10-17 21:16:01 +01:00
Chris Heyes ae02e9c34a Use name of source file as output_name 2018-10-16 23:56:19 +01:00
gingerBill 42b42db675 Add unimplemented and unreachable procedures; make os.exit a diverging procedure 2018-10-13 13:19:52 +01:00
gingerBill 73e9dbbf8c switch on typeid with type cases 2018-10-13 11:07:56 +01:00
gingerBill 0971a59493 Update runtime printing code 2018-10-11 18:19:29 +01:00
lachsinc d894fb3708 Cleanup comments. 2018-10-06 09:09:12 +10:00
lachsinc b6ca913cff Cleanup hack as all types appear to be handled!.. 2018-10-06 08:58:39 +10:00
lachsinc 39db428603 Add complex debug info. 2018-10-05 17:10:58 +10:00
lachsinc 992502f03b Add debug info for proc ptrs. 2018-10-05 16:49:48 +10:00
lachsinc edc3a9392a Cleanup. 2018-10-05 15:03:13 +10:00
lachsinc f881ebd007 Cleanup unused AllProcs. 2018-10-05 14:51:08 +10:00
lachsinc 11ea03d2e8 Tuple debug info (untested). Generated locals now flow through debug info. 2018-10-05 14:33:39 +10:00
lachsinc 99b4d59f44 Add arg # for proc param locals. 2018-10-05 12:57:06 +10:00
lachsinc dfeefc5179 Fix dgb.declare using different location to it's associated instructions. 2018-10-05 12:46:53 +10:00
lachsinc ab46406f4d Fix debug info for unnamed aggregate types. 2018-10-05 12:27:36 +10:00
lachsinc 48ad147818 Cleanup; Move enums/globals di inside CompileUnit. Minor comment cleanup. 2018-10-04 14:09:17 +10:00
lachsinc 79d49f1955 Lexical block debug info. 2018-10-04 13:43:52 +10:00
lachsinc 1ccc8700e4 bit_set / bit_field debug info. 2018-10-02 10:06:48 +10:00
lachsinc f38d70a235 Cleanup. 2018-10-01 01:21:15 +10:00
lachsinc b37b7a0f72 Cleanup. 2018-10-01 01:10:22 +10:00
lachsinc f8d7f42208 Minor cleanup. 2018-10-01 00:17:42 +10:00
lachsinc db0756a119 Stepping working. Cleanup. 2018-10-01 00:02:41 +10:00
lachsinc 79ade6ac7b Add various debug location stuff. 2018-09-30 04:47:21 +10:00
lachsinc ecce1d9974 Add debug location stack. 2018-09-30 04:24:24 +10:00
lachsinc 9e73189d63 Tagged union debug info. Aggregate type fixes (unions inside structs etc.). 2018-09-27 21:50:57 +10:00
lachsinc 11bddf270c Cleanup debug info 'name' stuff. 2018-09-27 18:34:59 +10:00
lachsinc 0818a272e2 Cleanup hardcoded bytes to bits 2018-09-27 17:55:37 +10:00