Commit Graph

1340 Commits

Author SHA1 Message Date
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
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
lachsinc
1ee0fe7457 Add DebugInfoArray as separate debug info type. Minor cleanup of various debug infos. 2018-09-25 21:24:15 +10:00
lachsinc
5961a63880 Expose dynamic array data/len/cap debug info. Minor cleanup of odin string debug info. 2018-09-19 13:16:56 +10:00
lachsinc
cce5e595e5 String debug info. Minor cleanup of derived / composite debug info output. 2018-09-19 01:52:08 +10:00
lachsinc
e7d72f6848 Static array debug info. Temporary dynamic array debug info (pointer to data, no len/cap info provided yet). 2018-09-18 23:21:44 +10:00
lachsinc
7dcad45e0d Add proper procedure type support (return types and param proc signature) 2018-09-18 21:28:28 +10:00
lachsinc
3772ea6ae1 Enum debug info support. 2018-09-18 20:12:36 +10:00
lachsinc
2cc2eb1ec0 Fix stepping/jumping between procedures/files. 2018-09-18 18:10:03 +10:00
lachsinc
8a789e33b0 Remove llc/opt hack. XX.bc now contains useful debug info thanks to removal of optimization flags in debug builds. 2018-09-18 14:17:43 +10:00
lachsinc
2f86f8f8e0 Provide llvm ir with more debug info (for Visual Studio debugger support). 2018-09-18 10:50:56 +10:00
gingerBill
02f9a27f46 Merge pull request #264 from lunaticLipid/master
Remove reference to the runtime package within itself
2018-09-16 22:26:34 +01:00
Lipid
6cb605a025 Remove reference to the runtime package within itself 2018-09-16 08:19:33 +02:00
gingerBill
9f3e42e4ef Fix delete_key #262 2018-09-15 11:21:02 +01:00
gingerBill
71d987bd2e Fix runtime proc names; Change calling convention of context parameter 2018-09-15 10:46:46 +01:00
gingerBill
637899467c Merge branch 'master' of https://github.com/odin-lang/Odin 2018-09-15 10:14:40 +01:00
gingerBill
5bdb424c6b context.allocator = a; Remove __ from runtime procs; improve division for complex numbers 2018-09-15 10:14:24 +01:00
gingerBill
c62cfddb9c Merge pull request #263 from hasenj/master
fix macos thread_count value
2018-09-14 17:48:34 +01:00
Hasen Judy
14a4c28f8f fix macos thread_count value 2018-09-15 01:46:50 +09:00
gingerBill
f1e1814ff9 Syntactic sugar for anonymous enum within a bit set 2018-09-11 12:10:32 +01:00
gingerBill
b468cf141b Fix are_types_identical for bit_set 2018-09-11 11:14:46 +01:00
gingerBill
787ea1feba Fix polymorphic constant parameters for procedures 2018-09-11 11:09:42 +01:00
gingerBill
91477e9e69 Allow for optional ok for return 2018-09-11 10:55:30 +01:00
gingerBill
cfd0dfd2bf Remove assertion from constant parameter 2018-09-10 21:56:16 +01:00
gingerBill
46b1868185 Constant polymorphic names 2018-09-10 14:21:19 +01:00
gingerBill
4c4de1d6c4 Fix cloning of auto_cast Ast 2018-09-10 08:50:20 +01:00
gingerBill
c8b30de771 Update compiler flags for build.bat 2018-09-09 15:06:04 +01:00
gingerBill
4f3837f0e6 Procedure inlining on call site 2018-09-09 14:46:28 +01:00
gingerBill
76848e8807 Disallow inline for recursive procedures 2018-09-09 13:58:23 +01:00
gingerBill
12902821d6 Make diverging procedure types different from ones without a return type 2018-09-09 13:48:33 +01:00
gingerBill
f5549f6bde Make panic a diverging procedure 2018-09-08 12:17:16 +01:00
gingerBill
3825eab989 Diverging procedures proc() -> ! (no return) 2018-09-08 12:16:03 +01:00
gingerBill
3cd6ae311d Parametric polymorphic union type 2018-09-08 12:02:25 +01:00
gingerBill
26cfc0257d Fix array_ordered_remove typo 2018-09-08 10:44:18 +01:00
Ginger Bill
1d31eabb6e Fix minor parsing issue for polymorphic identifiers 2018-09-04 13:47:24 +01:00
Joshua Mark Manton
8cd2797b2e Fixed core library bugs after recent changes. (#257)
* Fix `delete_map` calling `delete_dynamic_array` instead of `delete_slice for its hashes.

* Removed print statements from `__dynamic_map_rehash`
2018-09-02 22:18:32 +02:00
gingerBill
11f5236434 Add $T: typeid/[]$E; Deprecate T: type/[]$E
`type` as a keyword will soon be removed in favour of polymorphic names (identifiers) in procedures
2018-09-02 16:33:54 +01:00
gingerBill
220485a2d2 typeid as keyword (ready to implement polymorphic name parameters) 2018-09-02 15:56:36 +01:00
gingerBill
eb274cf316 Remove test code 2018-08-30 19:33:16 +01:00