aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Update main.cppgingerBill2020-12-061-1/+1
|
* Merge branch 'master' into parser-experimentsgingerBill2020-12-061-183/+378
|\
| * Update package json for new map layout; Correct llvm-api includes for *nixgingerBill2020-11-251-0/+4
| |
| * Update `odin doc` to support multiple package outputs by passing multiple ↵gingerBill2020-11-181-34/+33
| | | | | | | | | | | | | | paths; Replace `-all` with `-short` Example: odin doc core/path core/path/filepath
| * Improve `system_exec_command_line_app` functionality; Restrict `test_*` ↵gingerBill2020-11-171-81/+30
| | | | | | | | procedures to `*_test.odin` files
| * Fix up `system_exec_command_line_app` exit code codegingerBill2020-11-171-4/+18
| |
| * Begin rudimentary work on implementing `odin test` tooling with ↵gingerBill2020-11-171-5/+10
| | | | | | | | `*_test.odin` files
| * Add more documentation for odin doc flagsgingerBill2020-11-171-0/+8
| |
| * Improve flags for `odin doc`gingerBill2020-11-171-1/+17
| |
| * Basic `odin doc` supportgingerBill2020-11-171-0/+23
| |