aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `-verbose-errors` which shows the error in the line of codegingerBill2021-05-191-0/+6
|
* Fix docs for `-lld`gingerBill2021-05-111-1/+1
|
* Mark external thread local globalsgingerBill2021-05-051-0/+3
|
* Prepare to multithread object generationgingerBill2021-05-031-1/+1
|
* Add [EXPERIMENTAL] warning to -user-separate-modules help messagegingerBill2021-05-031-0/+1
|
* Experimental support for `-use-separate-modules`gingerBill2021-05-031-24/+18
|
* Begin work on making LLVM backend work with multiple modules for possible ↵gingerBill2021-05-031-2/+9
| | | | faster compilation
* Add `-test-name:<string>` flag to allow specific tests to be rangingerBill2021-05-031-3/+29
|
* Begin cleanup for allowing for multiple LLVM modulesgingerBill2021-05-031-2/+13
|
* Make the core:testing runner on windows run in a separate thread to handle ↵gingerBill2021-05-011-1/+6
| | | | crashes in more safe manner
* Add `-no-pie` flag to linker on LinuxgingerBill2021-04-281-0/+5
|
* Remove dead code related to old backendgingerBill2021-04-281-79/+16
|
* Implement `ODIN_ROOT` #913gingerBill2021-04-261-0/+22
|
* Make -strict-style the default #871gingerBill2021-04-261-6/+2
|
* Fix `odin run` on WindowsgingerBill2021-04-261-0/+5
|
* Make correctionsgingerBill2021-04-261-33/+0
|
* Change how `GIT_SHA` is rendered in `odin version`gingerBill2021-04-251-1/+1
|
* Remove `use_llvm_api` related checks and other related thingsgingerBill2021-04-251-1/+0
|
* Delete ir.cpp and related filesgingerBill2021-04-251-3/+0
|
* Remove old backend specific code in `main`gingerBill2021-04-251-448/+52
|
* Remove the need for `LLVM_BACKEND_SUPPORT`gingerBill2021-04-251-15/+3
|
* Override `-llvm-api` to always be truegingerBill2021-04-251-0/+2
|
* Fix typogingerBill2021-04-211-2/+2
|
* Add new `-o:<string>` flag as an alternative to `-opt:<integer>`gingerBill2021-04-211-1/+48
|
* Add `-build-mode:llvm-ir` for `-llvm-api` backendgingerBill2021-04-211-0/+2
|
* Add `-doc-format` command for the new .odin-doc file format (to be used to ↵gingerBill2021-04-181-0/+5
| | | | generate documentation tools)
* Minor fixes to platform checking codegingerBill2021-04-111-13/+13
|
* Removed debug codePlatin212021-04-051-1/+0
|
* Adds return values to linker stagesPlatin212021-04-051-42/+63
|
* Helpful error message for invalid `-define:` casesJim Powers2021-03-301-1/+2
|
* fix windowsAtil Kurtulmus2021-03-191-6/+7
|
* fixtypoatil2021-03-191-3/+2
|
* fixtypoatil2021-03-191-1/+1
|
* early memcpyoptatil2021-03-191-3/+17
|
* Add `-strict-style` flag: Enforces code style stricter whilst parsing, ↵gingerBill2021-03-131-0/+16
| | | | requiring such things as trailing commas
* Remove double removal of extension when using the -out option.Jeroen van Rijn2021-03-061-6/+0
| | | | | | | | | | | | | | When specifying the out parameter, the extension was stripped twice. If your path contains a ".", this caused issues. e.g. cd "C:\Repro\Path With a . In The Name\" odin run repro.odin -keep-temp-files -out repro.exe This would cause the files to end up as: "C:\Repro\Path With a.exe", "C:\Repro\Path With a.ll", "C:\Repro\Path With a.bc" and "C:\Repro\Path With a.obj" With this patch it works as expected, with or without a . in the file path.
* Minimize TokenPos size by using `i32` for line/column/offset and file_id ↵gingerBill2021-03-041-1/+1
| | | | | | instead of `String` To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases)
* Add `-vet-extra` (checks for unneeded casts and transmutes)gingerBill2021-03-031-0/+11
|
* update essence API headernakst2021-02-261-1/+1
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-02-251-1/+2
|\
| * Merge pull request #852 from Tetralux/fix-dll-macgingerBill2021-02-251-1/+2
| |\ | | | | | | Fix -build-mode:shared on Darwin
| | * Fix -build-mode:shared on DarwinTetralux2021-02-241-1/+2
| | | | | | | | | | | | | | | Apparently, the '__$startup_runtime' symbol to initialize RTTI stuff has three underscores (not two) on Darwin!
* | | Make USE_NEW_LLVM_ABI_SYSTEM the actual behaviour and remove the previous ↵gingerBill2021-02-251-4/+2
|/ / | | | | | | approach
* | Enforce -llvm-api on Mac M1gingerBill2021-02-251-1/+10
| |
* | Remove sret attribute in llvm_abi.cppgingerBill2021-02-251-0/+4
| |
* | Get compiling on Mac Mini M1gingerBill2021-02-241-0/+8
| |
* | Fix new flagsgingerBill2021-02-231-2/+2
| |
* | Add flags `-ignore-warnings` and `-warnings-as-errors`gingerBill2021-02-231-3/+29
|/
* Add extra error checksgingerBill2021-01-181-0/+7
|
* Add `-no-entry-point` to helpgingerBill2021-01-041-0/+6
|