Jeroen van Rijn
8c5c45a04c
[timings-export] Style fixes.
2021-11-10 12:23:46 +01:00
Jeroen van Rijn
9dc8753a14
[timings-export] Improve help messages
...
Also make `clang` happy as concerns the build settings switch/case.
2021-11-09 22:52:26 +01:00
Jeroen van Rijn
6c306f7633
Fix Linux warnings.
2021-11-09 20:31:22 +01:00
Jeroen van Rijn
05a86d5296
[timings-export] Implement JSON + CSV timngs export.
2021-11-09 19:57:55 +01:00
Jeroen van Rijn
9422fd311f
[timings-export] Add -export-timings:format + -export-timings-file:filename.
2021-11-09 19:51:27 +01:00
gingerBill
50562440bf
Correct wasm-ld path for non-Windows platforms
2021-11-09 08:09:56 +00:00
gingerBill
6646348e1a
Increase usage of PtrMap
2021-11-05 17:03:02 +00:00
gingerBill
b2a2aa15c2
Add ODIN_BUILD_MODE
2021-11-04 12:49:39 +00:00
gingerBill
efe05b3e13
Merge pull request #1252 from Kelimion/bug-report
...
Add new `odin report` command.
2021-10-31 19:19:56 +00:00
Jeroen van Rijn
2a7937e2ba
Add odin report command to help with bug reports.
...
Add new Odin command, `odin report`, which prints information helpful to resolving or reporting a bug.
```
W:\Odin> odin report
Where to find more information and get into contact when you encounter a bug:
Website: https://odin-lang.org
GitHub: https://github.com/odin-lang/Odin/issues
Useful information to add to a bug report:
Odin: dev-2021-10:256bebfe
OS: Windows 10 Professional (version: 20H2), build 19042.1266
CPU: AMD Ryzen 7 1800X Eight-Core Processor
RAM: 65469 MiB
W:\Odin>
TODO:
- CPU name on ARM/ARM64
```
2021-10-31 13:48:13 +01:00
gingerBill
841a96691b
Attempt to get wasm64 compiling with the correct features enabled
2021-10-31 00:37:37 +01:00
gingerBill
8ef6f9dd7b
Compile wasm64; Add lb_run_remove_unused_function_pass
2021-10-31 00:11:38 +01:00
gingerBill
5bc8a491a7
Begin work on supporting wasm64; Correct wasm32 compilation behaviour
2021-10-30 23:24:34 +01:00
gingerBill
8868bcf57a
Merge pull request #1234 from Skytrias/master
...
fix strip-semicolon using original file handle size
2021-10-26 21:04:02 +01:00
gingerBill
2a50f9c8d4
Rename -ignore-lazy to -internal-ignore-lazy
2021-10-23 17:41:11 +01:00
skytrias
6399f2b014
fix strip-semicolon using original file handle size
2021-10-23 00:12:32 +02:00
gingerBill
2c469a39c7
Simplify TIME_SECTION code
2021-10-12 15:09:57 +01:00
gingerBill
d0001dc11d
Increase system_exec_command_line_app buffer from 4 KiB to 64 MiB, and unify some logic
2021-10-12 13:56:36 +01:00
Jeroen van Rijn
6f04c61bdf
Fix -collection help typo.
2021-09-28 19:59:44 +02:00
Jeroen van Rijn
2c055b0972
Allow -define:name=string.
...
Slightly rewrote `build_param_to_exact_value` parsing logic.
First, try to parse as a bool, then as an integer or float.
If both fail, treat the value as a string.
To force a string define for e.g. `true`, use `-define:name='true'`.
2021-09-25 18:11:30 +02:00
gingerBill
15c309b0b8
Make permanent_allocator() thread local
2021-09-13 01:39:41 +01:00
gingerBill
31ed4f15a8
Remove debug code
2021-09-13 01:14:31 +01:00
gingerBill
f5bc95eb34
More culling
2021-09-13 01:07:24 +01:00
gingerBill
e65e0b5db2
Add -strict-style-init-only
2021-09-09 11:06:19 +01:00
gingerBill
0434281f73
Strip semicolons; Make odin strip-semicolon replace .. with ..= if used as a binary operator
2021-09-06 20:15:59 +01:00
gingerBill
169e717021
Remove debug message
2021-08-31 22:49:18 +01:00
gingerBill
cd09068e33
Correct parsing rules for #assert directives for semicolons
2021-08-31 22:45:08 +01:00
gingerBill
2db6fea665
Remove dead code and add debug messages
2021-08-31 22:31:43 +01:00
gingerBill
b176af2742
Add semicolon stripping command: odin strip-semicolon, has the same parameters as odin check
2021-08-31 22:20:36 +01:00
gingerBill
1fff96e088
Make -insert-semicolon the default now
2021-08-31 21:13:53 +01:00
gingerBill
b88e945268
ERROR_BLOCK() any usages of "Did you mean?" like behaviour whilst iterating across a scope entry map
2021-08-27 12:14:51 +01:00
gingerBill
582559f7ac
Correct did you mean logic and make thread-safe-er
2021-08-27 11:18:38 +01:00
gingerBill
b33bf3f704
Correct race condition and incorrect usage of condition_signal outside of a mutex lock
2021-08-26 22:17:51 +01:00
gingerBill
ad3a3547d6
Unify thread pool logic across the rest of the compiler, using a global thread pool
2021-08-26 21:22:30 +01:00
gingerBill
aa8777ee47
Change the implementation of Arena to use virtual memory, and remove the old gbArena code
2021-08-26 15:38:34 +01:00
gingerBill
c8378fce95
Add library collection vendor
2021-08-21 13:32:07 +01:00
gingerBill
7845769d4b
Remove unused code
2021-08-19 15:03:10 +01:00
gingerBill
3fde4616e0
Correct mutex usage for path_to_fullpath; make ThreadPool use BlockingMutex
2021-08-18 21:21:30 +01:00
gingerBill
08942714a2
Make Arena allocate virtual memory directory; make it use a BlockingMutex
2021-08-18 20:46:10 +01:00
gingerBill
be76da2c90
Begin optimizing tokenizer; Replace gb_utf8_decode with utf8_decode (CC but easier to change later)
2021-08-01 23:56:17 +01:00
gingerBill
d1e5f34f76
Use DEFAULT_TO_THREADED_CHECKER
2021-07-27 23:55:19 +01:00
gingerBill
3ac674cf02
Fix typo
2021-07-25 13:12:09 +01:00
gingerBill
99080d41f3
INTERNAL USE ONLY: //+lazy build flag
2021-07-25 13:06:09 +01:00
gingerBill
92f3567ee6
Default to using a threaded checker on Windows; Add -no-threaded-checker for Windows
2021-07-24 18:00:19 +01:00
gingerBill
e15858e2be
Remove random load balancing in thread_proc_body
2021-07-14 22:53:02 +01:00
gingerBill
bd8e2f82be
Replace non-recursive mutexes with BlockingMutex; Minor improves to initialization improves
2021-07-14 00:34:34 +01:00
gingerBill
bab1873416
Require throughput pass results with -show-more-timings -show-debug-messages rather than just the former flag
2021-07-13 18:39:11 +01:00
gingerBill
698eeaf7c3
Add (internal flag) -show-debug-messages
2021-07-13 17:40:06 +01:00
gingerBill
460e14e586
Change the compiler's big integer library to use libTomMath
...
This now replaces Bill's crappy big int implementation
2021-07-11 16:08:16 +01:00
gingerBill
d9e6ade030
Add experimental support for a threaded semantic checker to -threaded-checker
2021-07-10 23:51:37 +01:00