aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add -show-system-calls flag info to cli usage helpHasan Yasin Ozturk2023-08-011-5/+9
|
* Remove `-strict-style-init-only`gingerBill2023-08-011-18/+1
|
* Replace a lot of warnings with errors; remove deprecated stuffgingerBill2023-08-011-7/+0
|
* Add `-vet-style` and `-vet-semicolon`gingerBill2023-08-011-5/+25
|
* Add separate `-vet` flags; `-vet-using-*` flags; `//+vet` file flagsgingerBill2023-07-311-7/+50
|
* fix spacingLaytan Laats2023-07-021-18/+18
|
* use more common detection method and add FORCE_COLOR and NO_COLOR supportLaytan Laats2023-07-021-15/+21
|
* ignore stderr in tput callLaytan Laats2023-07-021-1/+1
|
* detect unix color supportLaytan Laats2023-07-021-0/+16
|
* Rename `ODIN_DISALLOW_RTTI` to `ODIN_NO_RTTI`; Remove dead command line flagsgingerBill2023-06-121-15/+1
|
* Deprecate `-disallow-rtti` in favour of `-no-rtti`gingerBill2023-06-121-3/+8
|
* When using `-debug`, default to `-o:none` unless explicitly specifiedgingerBill2023-05-021-0/+4
|
* 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
|