aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add `-max-error-count:<integer>`gingerBill2023-04-041-2/+28
|
* Change help text to output to stdoutMark Naughton2023-03-291-3/+3
|
* Add `@(extra_linker_flags=<string>)`gingerBill2023-03-211-0/+13
|
* Minimize severe memory usage by enforcing the `heap_allocator()` in placesgingerBill2023-03-161-9/+16
|
* rename -no-tls to -no-thread-localbumbread2023-03-141-5/+5
|
* Added -no-tls flagbumbread2023-03-131-0/+9
|
* Update help usagegingerBill2023-03-071-1/+1
|
* Add `-o:none` optimization mode (useful for `-debug` builds)gingerBill2023-03-071-1/+4
|
* Override to have ansi colors if env has `ODIN_TERMINAL=ansi`gingerBill2023-02-221-0/+10
|
* Begin work on adding colours to error messages on Windows TerminalsgingerBill2023-02-221-0/+15
|
* Make `-verbose-errors` the default; `-terse-errors` to disable itgingerBill2023-02-221-1/+8
|
* Fix #2330gingerBill2023-02-171-0/+11
|
* Make static map calls the default; add `-dynamic-map-calls`gingerBill2023-02-031-4/+9
|
* Use C++ `for` rather than `for_array` macrogingerBill2023-01-291-72/+47
|
* Fix minor possible race conditiongingerBill2023-01-161-1/+1
|
* Add `/NOIMPLIB /NOEXP` on MSVC linker by default when building an executablegingerBill2023-01-141-0/+6
|
* Update `debugf` usagegingerBill2023-01-141-0/+4
|
* Comment out allocator guards for the time beinggingerBill2023-01-121-1/+1
|
* Make the `heap_allocator` just be the `permanent_allocator`gingerBill2023-01-121-2/+11
| | | | This improves the speed of the compiler with very little memory increase (which surprised me, Ginger Bill)
* Make `-threaded-checker` the default not (opt out with `-no-threaded-checker`)gingerBill2023-01-111-15/+1
|
* Multithread LLVM procedure generationgingerBill2023-01-051-11/+11
|
* General improves to `alloc_ast_node` and other unnecessary checksgingerBill2023-01-031-2/+2
|
* Make all maps use heap allocator implicitlygingerBill2023-01-031-1/+1
|
* Use heap_allocator for all hash set typesgingerBill2023-01-031-4/+4
|
* Remove unneeded mutexgingerBill2023-01-021-2/+1
|
* Correct a race condition when checking the procedure bodygingerBill2023-01-021-0/+5
|
* Remove `global_` prefix from `global_thread_pool_*` proceduresgingerBill2023-01-021-2/+2
|
* Remove the synchronization primitive init/destroy callsgingerBill2023-01-011-5/+0
|
* Merge branch 'master' into compiler-improvements-2022-12gingerBill2022-12-211-2/+2
|\
| * Enable -out:<filepath> for build and runs with the attribute @(test)Thomas Stibor2022-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the odin help command $ odin help test ... -out:<filepath> Set the file name of the outputted executable Example: -out:foo.exe building and running tests the executable output filepath shall be specified. However, the -out parameter is disabled, resulting in error message: Unknown flag for 'odin test': 'out' 'out' is supported with the following commands: run, build Omitting the -out parameter results in default filepath '01.bin' (on Linux). However, it is desirable for user specifying the output filepath, e.g. by using this Makefile snippet: TARGET=main FLAGS=-warnings-as-errors -verbose-errors all: run run: @odin run . $(FLAGS) -out:$(TARGET) test: @odin test . $(FLAGS) -out:$(TARGET) clean: @rm -f $(TARGET) In addition a typo is fixed.
* | Remove dead code in the compilergingerBill2022-12-181-68/+9
| |
* | `gb_internal` a lotgingerBill2022-12-181-21/+21
|/
* Allow for `-use-static-map-calls` which generates a get procedure per `map`; ↵gingerBill2022-11-081-0/+6
| | | | add `runtime.map_get`
* Add -minimum-os-version flagJeroen van Rijn2022-11-011-10/+16
| | | | | Allow for Darwin targets to specify the minimum OS version: e.g. -minimum-os-version:12.0.0
* Add missing newline.Jeroen van Rijn2022-11-011-1/+1
|
* Clarify -define help.Jeroen van Rijn2022-11-011-2/+2
|
* Remove formerly deprecated `-opt` flag.Jeroen van Rijn2022-10-281-36/+16
|
* Add LLVM > 14 check to main.cpp for Darwin.Jeroen van Rijn2022-10-271-0/+3
|
* Simplify win32 resource file linkinggingerBill2022-09-071-33/+20
|
* Add `help` verb, e.g. `odin help build`.Jeroen van Rijn2022-09-051-9/+17
|
* Improve error message when you use -file as the verb.Jeroen van Rijn2022-09-051-1/+6
|
* Do not remove .rc extension from resource path to prevent expansion to full ↵Joakim Hentula2022-08-101-1/+1
| | | | path assuming it's a directory if a folder with the same name exists in the same folder as the resource file
* find windows sdk bin path for rc.exeIan Lilley2022-08-071-1/+5
|
* fix -build-mode:shared on MacOSWes Hardee2022-06-301-2/+9
|
* Improvements to `-strict-style` and trailing commasgingerBill2022-06-131-1/+1
|
* `@(require_target_feature=<string>)` `@(enable_target_feature=<string>)`gingerBill2022-05-301-2/+2
| | | | | require_target_feature - required by the target micro-architecture enable_target_feature - will be enabled for the specified procedure only
* Increase minimum macOS version to 10.12.0gingerBill2022-05-181-2/+2
|
* Remove unneeded `#if defined`gingerBill2022-05-041-4/+0
|
* Minor move around for path setsgingerBill2022-05-041-4/+8
|
* Remove stray linegingerBill2022-05-041-1/+0
|