gingerBill
a7adb2fb6e
Merge branch 'master' into freestanding_amd64
2022-03-14 11:02:59 +00:00
gingerBill
8e4d6b3e5d
Fix typo
2022-03-09 11:24:36 +00:00
gingerBill
ba412fd87b
Fix typo
2022-03-09 09:36:21 +00:00
gingerBill
ff60b752bd
Replace #if with if where possible
2022-03-08 22:35:10 +00:00
gingerBill
17dab04422
Refactor link flag creation for nix systems
2022-03-08 11:13:59 +00:00
kstrb
1cd89b2da3
Linux: allow 'foreign import' of object files
2022-03-05 17:28:34 +01:00
Sébastien Marie
f76f70c7cf
openbsd: defaults to PIE executable
...
OpenBSD uses PIE code by default to allow the system to load the binary at a random location.
don't pass -no-pie to preserve this behaviour, and build objects with -fPIC (LLVMRelocPIC).
2022-02-28 15:24:22 +00:00
gingerBill
09e4fff5b1
-target-features:<string>
...
This just passes a string directly to the LLVM features string
2022-02-28 15:08:50 +00:00
gingerBill
278e239973
Commit rest of code for -disallow-rtti
2022-02-28 13:40:01 +00:00
gingerBill
45124e4d5c
Merge branch 'master' into freestanding_amd64
2022-02-28 12:32:51 +00:00
gingerBill
c3c88633a5
Merge pull request #1545 from AquaGeneral/master
...
Added options to help, and improved wording
2022-02-24 10:15:13 +00:00
Jesse Stiller
384fb76a1b
Added options to help, and improved wording
2022-02-24 12:59:06 +10:00
gingerBill
196bd735d4
Replace local @(no_red_zone) with global -disable-red-zone
2022-02-23 11:29:36 +00:00
gingerBill
3d209798c9
Add help docs for -reloc-mode:<string>
2022-02-23 11:19:51 +00:00
gingerBill
3e5c60f746
Add -reloc-mode:<string>
2022-02-20 14:48:12 +00:00
gingerBill
0fa487f468
Add -foreign-error-procedures
2022-02-20 14:27:44 +00:00
gingerBill
71df46456a
Minimize memory usage by having an arena per thread rather than an arena per file
2022-02-18 21:30:25 +00:00
gingerBill
9e98494fff
Merge pull request #1482 from odin-lang/objc-intrinsics
...
Improve support Objective-C code through intrinsics and Metal API
2022-02-15 15:48:56 +00:00
Phil H
e6e04fc6c8
Add 'odin run -help' info for specifying args
2022-02-14 22:15:55 -08:00
gingerBill
fd8b2e0b88
Merge branch 'master' into objc-intrinsics
2022-02-14 11:04:36 +00:00
gingerBill
441365b388
Set the macOS minimum version to 12 for ARM CPUs
2022-02-14 10:58:01 +00:00
gingerBill
f8afda3b22
Add more objc attributes
2022-02-11 22:54:51 +00:00
oskarnp
c6ed3fa4b5
Fix invalid linker flags passed to clang on macOS
2022-01-14 10:48:41 -05:00
Dale Weiler
ee260986a9
more fixes
2022-01-13 00:19:04 -05:00
gingerBill
3def94505e
Add dynamic to error message for -build-mode
2022-01-12 20:28:11 +00:00
gingerBill
e30f16b1f3
Correct -init for *nix
2022-01-12 20:17:30 +00:00
Dale Weiler
4334dbe69a
disable this warning
2022-01-10 18:00:38 -05:00
Dale Weiler
8f91e9307c
shared library fixes
2022-01-10 17:57:33 -05:00
Wes Hardee
a48317deee
use '___$startup_runtime' for MacOS
...
MacOS needs 3 underscores unlike the 2 needed by Linux.
2021-12-18 12:43:24 -06:00
gingerBill
27106dd9ae
Allow .asm, .s, and .S as valid assembly file extensions
2021-11-26 22:25:07 +00:00
gingerBill
ffd7ca57f1
Move nasm.exe to windows/nasm.exe, etc
2021-11-26 14:40:39 +00:00
gingerBill
c34a331696
Add -extra-assembler-flags
2021-11-24 22:20:18 +00:00
gingerBill
994ee5a559
Allow for multiple .asm files
2021-11-24 17:57:31 +00:00
gingerBill
50057b0696
Add basic support for foreign import "foo.asm" on Windows with nasm.exe
2021-11-24 16:56:42 +00:00
DYSEQTA
e5f961b48f
Removed '--help' from help string as per request.
2021-11-24 11:10:40 +11:00
cybermancer
1823b0cead
Improve compiler help output with regard to command specific help.
2021-11-16 15:15:21 +11:00
gingerBill
1ec0b79345
Allow both -help and --help if passed as init_filename
2021-11-15 22:10:31 +00:00
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