Commit Graph

1163 Commits

Author SHA1 Message Date
gingerBill
dfd7a194ed Fix big int shifts of 0 2018-10-28 09:32:59 +00:00
gingerBill
2ddb27869b Built-in procedure #defined 2018-10-27 18:44:28 +01:00
gingerBill
5c608b01ba Place optimization level flag in condition again; -memcpyopt -die only in non-debug builds 2018-10-24 10:19:01 +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
822e4894f2 Minor logic change for reserved package names 2018-10-20 21:19:40 +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
3742d9e7e9 Move atomic intrinsics to the new built-in package intrinsics 2018-10-20 10:44:02 +01:00
gingerBill
b171cc41e6 __atomic_* "intrinsics" using LLVM instructions 2018-10-17 21:16:01 +01:00
gingerBill
efc3a9e69d Merge pull request #274 from hazeycode/fix/245
Use name of source file as output_name
2018-10-17 15:29:56 +01:00
gingerBill
307c58d908 Fix compilation error #272 2018-10-17 15:27:36 +01:00
Chris Heyes
ae02e9c34a Use name of source file as output_name 2018-10-16 23:56:19 +01:00
gingerBill
ef2931d4a5 Remove AstTypeType 2018-10-13 14:07:00 +01:00
gingerBill
2d4aa2be6d Remove type as being a keyword 2018-10-13 14:04:34 +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
Alexis Breust
805cc48f03 Replaced __builtin_clz by long long version - Fixes #268 2018-10-08 08:23:50 +02: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
gingerBill
834308d8ce Fix using import override "bug" 2018-09-29 13:07:46 +01: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
lachsinc
9750b1162a Cleanup. 2018-09-27 01:34:15 +10:00
lachsinc
3106aaaa3d Fix pointers to all things debug info. Cleanup param order. Make scope/file optional for relevent types. 2018-09-27 00:02:35 +10:00
lachsinc
d31d4c9bd6 (Basic) Map debug info support. Minor slice fix. 2018-09-26 07:51:16 +10:00
lachsinc
6993777d36 Slices. Fix dynamic array data ptr size. 2018-09-26 06:04:33 +10:00
lachsinc
54c044ee09 Add support for any. Fix rawptr debug type. 2018-09-26 05:43:58 +10:00
lachsinc
2e5cecf9e6 Cleanup dynamic array/string bloat. 2018-09-26 04:01:16 +10:00
lachsinc
7acb49eefb Cleanup comments/todos. 2018-09-26 02:17:05 +10:00
lachsinc
0f6c1f3482 Add debug info for globals. Misc debug info cleanup. 2018-09-26 02:01:03 +10:00