Commit Graph

4072 Commits

Author SHA1 Message Date
gingerBill
3bee571e1f Use giant struct only in 17 2023-09-25 16:43:28 +01:00
gingerBill
361f71deed Use llvm_const_array wrapper 2023-09-22 15:35:24 +01:00
gingerBill
61f39ae0a0 Use a giant packed struct working for type info table 2023-09-22 15:32:32 +01:00
gingerBill
082324d7b9 Begin work on making the type info table be constantly initialized 2023-09-22 14:39:51 +01:00
gingerBill
5e99289d7a Minor clean up 2023-09-22 12:11:39 +01:00
gingerBill
ac43dd0777 Remove debug text 2023-09-21 17:08:45 +01:00
gingerBill
963559676e Fix build times for -o:<string> in LLVM-17 2023-09-21 16:48:00 +01:00
gingerBill
20ce8c4c51 Allow for zero passes 2023-09-21 12:45:11 +01:00
gingerBill
098c09835b Add ODIN_SANITIZER_FLAGS global constant 2023-09-21 11:34:40 +01:00
gingerBill
4aa9d34b3d Add attributes for sanitize_memory and sanitize_thread 2023-09-21 11:20:13 +01:00
gingerBill
38d2a0ddb9 Add sanitize_address attribute to all normal packages 2023-09-21 11:13:26 +01:00
gingerBill
735bb147e2 Add asan lib for Windows 2023-09-21 11:03:25 +01:00
gingerBill
7a511308ef Re-configure the new pass system 2023-09-21 10:54:02 +01:00
gingerBill
bc401fa392 Fix wrong import due to grep-replace 2023-09-21 10:41:42 +01:00
gingerBill
96fbafe359 Update ABI breaking changes for f16 types (due to LLVM 15+) 2023-09-21 10:38:44 +01:00
gingerBill
e82b0ea4cd Add -o:aggressive for LLVM 17 2023-09-21 09:48:53 +01:00
gingerBill
2160484b62 Support -sanitize:<string> for address, memory, thread for LLVM 17 2023-09-21 09:40:33 +01:00
gingerBill
f0ab58dfbb Begin work with adding the new pass system 2023-09-20 10:39:48 +01:00
gingerBill
5043c10d70 Check for LLVM versions 2023-09-19 16:21:34 +01:00
gingerBill
e748d2f2af Update to LLVM-17 2023-09-19 16:15:26 +01:00
gingerBill
3505c1d790 Fix constant literals using the wrong type 2023-09-19 15:12:44 +01:00
gingerBill
984a95b8c7 Update Tilde 2023-09-11 23:36:39 +01:00
gingerBill
aaaff9b66c Fix bug: Disallow non-specialized polymorphic in typeid assignment 2023-09-06 17:33:38 +01:00
gingerBill
c660b43105 Merge branch 'master' of https://github.com/odin-lang/Odin 2023-09-06 16:55:50 +01:00
Laytan Laats
a182dc78f4 fix #2779 ternary with a union of enum 2023-08-31 02:31:11 +02:00
gingerBill
04129c5bd5 Update Tilde 2023-08-27 23:45:39 +01:00
gingerBill
0b0230adce Update Tilde 2023-08-26 13:14:49 +01:00
gingerBill
1cdb975c91 Add attribute @(require) import "foo" to replace/supplement _ :: foo 2023-08-22 12:05:25 +01:00
gingerBill
cd42d26eb3 Fix variadic parapoly bug 2023-08-21 12:19:38 +01:00
gingerBill
1631a2bac1 Update Tilde 2023-08-21 11:15:16 +01:00
gingerBill
0cb9908f27 Update Tilde 2023-08-19 12:26:59 +01:00
gingerBill
15033eab28 Fix comparison of two nil unions against each other 2023-08-16 11:52:40 +01:00
gingerBill
8b4c530062 Disable HAS_VALGRIND logic for BlockingMutex (fixes #2703) 2023-08-16 11:02:09 +01:00
gingerBill
9ff9587b7b Remove unused code in gb.h; Minimize use of heap_allocator() in parser 2023-08-16 00:41:49 +01:00
gingerBill
2cc22d118d Require parentheses for #align(N) 2023-08-15 14:55:02 +01:00
gingerBill
589820639c Correct lb_run_function_pass_manager behaviour 2023-08-10 14:35:09 +01:00
gingerBill
2b3f3e11d3 Make trailing commas followed by a closing token on the same an error with -vet-style 2023-08-08 16:01:08 +01:00
gingerBill
cad3a50e4e Add ODIN_PLATFORM_SUBTARGET 2023-08-08 15:28:21 +01:00
gingerBill
4d9ee55468 Fix add_constant_switch_case 2023-08-08 15:23:01 +01:00
gingerBill
b72f009d87 Disallow aliasing of any and typeid 2023-08-08 15:10:57 +01:00
gingerBill
2181e0fc27 Make for init; ; {} an error without an explicit cond or post 2023-08-08 15:07:00 +01:00
gingerBill
cd74cdfdaf Remove switch in in favour of switch _ in 2023-08-08 14:57:25 +01:00
gingerBill
49ab935ae9 Disallow for in in favour of for _ in 2023-08-08 14:56:12 +01:00
gingerBill
939bf4bb5d Add experimental -subtarget:ios 2023-08-08 11:35:51 +01:00
gingerBill
7861dfd667 Fix tilde extension when trying to build as assembly (unsupported currently) 2023-08-08 11:16:14 +01:00
William Roe
5d8b78cb88 Fix read_cycle_counter intrinsic on arm64
Running this code with the hard-coded x9 register results in not 
returning the cycle count, but some other value.

This code (using $0 as the register), works on arm64 Linux and Darwin.
2023-08-07 21:18:56 +01:00
gingerBill
0600054ad4 Remove temporary assert 2023-08-07 15:21:18 +01:00
gingerBill
b782fca75b Fix using bug 2023-08-07 15:18:45 +01:00
gingerBill
0230b88078 Tilde: #soa pointers 2023-08-07 15:11:15 +01:00
gingerBill
55c9fb7c5c Tilde: Begin work on #soa 2023-08-07 15:04:03 +01:00